home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000010| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000020| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 0d 0a 25 |%%%%%%%%|%%%%%..%|
|00000040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 25 0d 0a 25 20 | | %..% |
|00000080| 55 6e 69 54 65 72 6d 20 | 55 73 65 72 73 20 47 75 |UniTerm |Users Gu|
|00000090| 69 64 65 2c 20 43 6f 70 | 79 72 69 67 68 74 20 31 |ide, Cop|yright 1|
|000000a0| 39 38 36 2c 20 31 39 38 | 37 20 53 69 6d 6f 6e 20 |986, 198|7 Simon |
|000000b0| 50 6f 6f 6c 65 20 20 20 | 20 20 25 0d 0a 25 20 20 |Poole | %..% |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 25 0d 0a 25 20 54 68 | | %..% Th|
|00000100| 69 73 20 66 69 6c 65 20 | 6d 61 79 20 6e 6f 74 20 |is file |may not |
|00000110| 62 65 20 63 68 61 6e 67 | 65 64 20 77 69 74 68 6f |be chang|ed witho|
|00000120| 75 74 20 70 65 72 6d 69 | 73 73 69 6f 6e 2c 20 61 |ut permi|ssion, a|
|00000130| 6c 6c 20 20 20 20 20 20 | 25 0d 0a 25 20 72 69 67 |ll |%..% rig|
|00000140| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 20 20 20 |hts rese|rved. |
|00000150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 25 | 0d 0a 25 20 20 20 20 20 | %|..% |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 20 20 20 20 20 20 25 0d | 0a 25 20 53 69 6d 6f 6e | %.|.% Simon|
|000001c0| 20 50 6f 6f 6c 65 20 20 | 20 20 20 20 20 20 20 20 | Poole | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001f0| 20 20 20 20 20 25 0d 0a | 25 20 42 61 68 6e 68 6f | %..|% Bahnho|
|00000200| 66 73 74 72 2e 20 35 31 | 20 62 20 20 20 20 20 20 |fstr. 51| b |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 20 20 20 25 0d 0a 25 | 20 43 48 2d 35 34 33 30 | %..%| CH-5430|
|00000240| 20 57 65 74 74 69 6e 67 | 65 6e 20 20 20 20 20 20 | Wetting|en |
|00000250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000270| 20 20 20 25 0d 0a 25 20 | 53 77 69 74 7a 65 72 6c | %..% |Switzerl|
|00000280| 61 6e 64 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |and | |
|00000290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002b0| 20 20 25 0d 0a 25 20 20 | 20 20 20 20 20 20 20 20 | %..% | |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 25 0d 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 | %..%%%%|%%%%%%%%|
|00000300| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000310| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000320| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000330| 25 0d 0a 5c 63 68 61 70 | 74 65 72 7b 53 69 6d 70 |%..\chap|ter{Simp|
|00000340| 6c 65 20 4d 61 63 72 6f | 20 50 72 6f 63 65 73 73 |le Macro| Process|
|00000350| 6f 72 7d 5c 69 6e 64 65 | 78 7b 4d 61 63 72 6f 20 |or}\inde|x{Macro |
|00000360| 50 72 6f 63 65 73 73 6f | 72 7d 0d 0a 0d 0a 20 20 |Processo|r}.... |
|00000370| 54 68 65 20 6d 61 63 72 | 6f 20 63 6f 6d 6d 61 6e |The macr|o comman|
|00000380| 64 73 20 20 63 61 6e 20 | 62 65 20 69 6e 20 74 68 |ds can |be in th|
|00000390| 65 20 73 74 72 69 6e 67 | 73 20 61 73 73 69 67 6e |e string|s assign|
|000003a0| 65 64 20 74 6f 20 74 68 | 65 20 20 66 75 6e 63 74 |ed to th|e funct|
|000003b0| 69 6f 6e 20 0d 0a 6b 65 | 79 73 20 20 6f 72 20 69 |ion ..ke|ys or i|
|000003c0| 6e 20 61 20 66 69 6c 65 | 2c 20 20 74 68 65 20 63 |n a file|, the c|
|000003d0| 6f 6d 6d 61 6e 64 20 69 | 6e 69 74 69 61 74 6f 72 |ommand i|nitiator|
|000003e0| 20 69 73 20 7b 5c 74 74 | 20 5c 25 7d 20 66 6f 72 | is {\tt| \%} for|
|000003f0| 20 66 75 6e 63 74 69 6f | 6e 20 6b 65 79 73 0d 0a | functio|n keys..|
|00000400| 28 74 68 69 73 20 69 73 | 20 6e 6f 74 20 6e 65 65 |(this is| not nee|
|00000410| 64 65 64 20 69 6e 20 61 | 20 6d 61 63 72 6f 20 66 |ded in a| macro f|
|00000420| 69 6c 65 29 2e 20 0d 0a | 20 0d 0a 41 20 63 6f 6d |ile). ..| ..A com|
|00000430| 6d 61 6e 64 20 6c 69 6e | 65 20 69 73 20 61 20 6d |mand lin|e is a m|
|00000440| 61 78 69 6d 75 6d 20 6f | 66 20 38 30 20 63 68 61 |aximum o|f 80 cha|
|00000450| 72 61 63 74 65 72 73 20 | 6c 6f 6e 67 2e 20 54 68 |racters |long. Th|
|00000460| 65 20 0d 0a 6d 61 63 72 | 6f 2d 70 72 6f 63 65 73 |e ..macr|o-proces|
|00000470| 73 6f 72 20 20 77 6f 72 | 6b 73 20 20 69 6e 20 74 |sor wor|ks in t|
|00000480| 77 6f 20 20 6d 6f 64 69 | 3a 20 20 0d 0a 5c 62 65 |wo modi|: ..\be|
|00000490| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|000004a0| 0d 0a 5c 65 78 70 6c 61 | 69 6e 7b 46 75 6e 63 74 |..\expla|in{Funct|
|000004b0| 69 6f 6e 2d 6b 65 79 20 | 20 6d 6f 64 65 7d 7b 61 |ion-key | mode}{a|
|000004c0| 6c 6c 20 20 63 68 61 72 | 61 63 74 65 72 73 20 0d |ll char|acters .|
|000004d0| 0a 62 65 74 77 65 65 6e | 20 63 6f 6d 6d 61 6e 64 |.between| command|
|000004e0| 73 20 61 72 65 20 73 65 | 6e 74 20 74 6f 20 74 68 |s are se|nt to th|
|000004f0| 65 20 73 65 72 69 61 6c | 20 70 6f 72 74 7d 0d 0a |e serial| port}..|
|00000500| 5c 65 78 70 6c 61 69 6e | 7b 4d 61 63 72 6f 20 66 |\explain|{Macro f|
|00000510| 69 6c 65 20 6d 6f 64 65 | 7d 7b 65 76 65 72 79 74 |ile mode|}{everyt|
|00000520| 68 69 6e 67 20 62 65 74 | 77 65 65 6e 20 63 6f 6d |hing bet|ween com|
|00000530| 6d 61 6e 64 73 20 65 78 | 63 65 70 74 20 77 68 69 |mands ex|cept whi|
|00000540| 74 65 2d 73 70 61 63 65 | 0d 0a 69 73 20 61 20 73 |te-space|..is a s|
|00000550| 79 6e 74 61 78 20 65 72 | 72 6f 72 2c 20 61 64 64 |yntax er|ror, add|
|00000560| 69 74 69 6f 6e 61 6c 20 | 63 6f 6d 6d 61 6e 64 73 |itional |commands|
|00000570| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 20 69 | are ava|ilable i|
|00000580| 6e 20 74 68 69 73 20 6d | 6f 64 65 2e 7d 20 0d 0a |n this m|ode.} ..|
|00000590| 5c 65 6e 64 7b 64 65 73 | 63 72 69 70 74 69 6f 6e |\end{des|cription|
|000005a0| 7d 0d 0a 0d 0a 5c 73 65 | 63 74 69 6f 6e 7b 41 72 |}....\se|ction{Ar|
|000005b0| 67 75 6d 65 6e 74 73 7d | 0d 0a 0d 0a 41 72 67 75 |guments}|....Argu|
|000005c0| 6d 65 6e 74 73 20 61 72 | 65 20 65 6e 63 6c 6f 73 |ments ar|e enclos|
|000005d0| 65 64 20 69 6e 20 70 61 | 72 65 6e 74 68 65 73 65 |ed in pa|renthese|
|000005e0| 73 20 61 6e 64 20 73 65 | 70 61 72 61 74 65 64 20 |s and se|parated |
|000005f0| 62 79 20 63 6f 6d 6d 61 | 73 2c 20 74 68 65 79 20 |by comma|s, they |
|00000600| 63 61 6e 20 0d 0a 62 65 | 20 6f 66 20 74 68 65 20 |can ..be| of the |
|00000610| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 79 70 65 73 3a |followin|g types:|
|00000620| 0d 0a 0d 0a 5c 62 65 67 | 69 6e 7b 64 65 73 63 72 |....\beg|in{descr|
|00000630| 69 70 74 69 6f 6e 7d 0d | 0a 5c 65 78 70 6c 61 69 |iption}.|.\explai|
|00000640| 6e 7b 53 74 72 69 6e 67 | 20 63 6f 6e 73 74 61 6e |n{String| constan|
|00000650| 74 7d 7b 63 68 61 72 61 | 63 74 65 72 20 73 74 72 |t}{chara|cter str|
|00000660| 69 6e 67 20 65 6e 63 6c | 6f 73 65 64 20 69 6e 20 |ing encl|osed in |
|00000670| 73 69 6e 67 6c 65 20 71 | 75 6f 74 65 73 2c 20 6d |single q|uotes, m|
|00000680| 61 78 2e 20 38 30 20 0d | 0a 20 20 20 20 20 20 20 |ax. 80 .|. |
|00000690| 20 20 20 20 20 20 20 20 | 63 68 61 72 61 63 74 65 | |characte|
|000006a0| 72 73 2e 7d 0d 0a 5c 65 | 78 70 6c 61 69 6e 7b 53 |rs.}..\e|xplain{S|
|000006b0| 74 72 69 6e 67 20 76 61 | 72 69 61 62 6c 65 7d 7b |tring va|riable}{|
|000006c0| 31 30 20 75 73 65 72 20 | 73 65 74 61 62 6c 65 20 |10 user |setable |
|000006d0| 73 74 72 69 6e 67 20 76 | 61 72 69 61 62 6c 65 73 |string v|ariables|
|000006e0| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 3a 20 | are ava|ilable: |
|000006f0| 5c 24 31 20 74 6f 20 5c | 24 31 30 2c 0d 0a 20 20 |\$1 to \|$10,.. |
|00000700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000710| 20 20 20 20 20 20 20 20 | 61 64 64 69 74 69 6f 6e | |addition|
|00000720| 61 6c 79 20 35 20 70 72 | 65 64 69 66 69 6e 65 64 |aly 5 pr|edifined|
|00000730| 20 73 74 72 69 6e 67 73 | 20 63 61 6e 20 62 65 20 | strings| can be |
|00000740| 75 73 65 64 2e 7d 0d 0a | 5c 65 78 70 6c 61 69 6e |used.}..|\explain|
|00000750| 7b 49 6e 74 65 67 65 72 | 20 63 6f 6e 73 74 61 6e |{Integer| constan|
|00000760| 74 7d 7b 70 6f 73 69 74 | 69 76 65 20 69 6e 74 65 |t}{posit|ive inte|
|00000770| 67 65 72 20 69 6e 20 74 | 68 65 20 72 61 6e 67 65 |ger in t|he range|
|00000780| 20 30 2e 2e 33 32 37 36 | 37 2e 7d 0d 0a 5c 65 78 | 0..3276|7.}..\ex|
|00000790| 70 6c 61 69 6e 7b 49 6e | 74 65 67 65 72 20 76 61 |plain{In|teger va|
|000007a0| 72 69 61 62 6c 65 7d 7b | 31 30 20 75 73 65 72 20 |riable}{|10 user |
|000007b0| 73 65 74 61 62 6c 65 20 | 69 6e 74 65 67 65 72 20 |setable |integer |
|000007c0| 76 61 72 69 61 62 6c 65 | 73 20 61 72 65 20 61 76 |variable|s are av|
|000007d0| 61 69 6c 61 62 6c 65 3a | 20 40 31 20 74 6f 20 40 |ailable:| @1 to @|
|000007e0| 31 30 2c 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |10,.. | |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000800| 72 61 6e 67 65 3a 20 2d | 33 32 37 36 38 20 74 6f |range: -|32768 to|
|00000810| 20 2b 33 32 37 36 37 2e | 7d 0d 0a 5c 65 78 70 6c | +32767.|}..\expl|
|00000820| 61 69 6e 7b 46 75 6e 63 | 74 69 6f 6e 7d 7b 61 6e |ain{Func|tion}{an|
|00000830| 79 20 6f 66 20 74 68 65 | 20 62 75 69 6c 74 2d 69 |y of the| built-i|
|00000840| 6e 20 66 75 6e 63 74 69 | 6f 6e 73 20 63 61 6e 20 |n functi|ons can |
|00000850| 62 65 20 75 73 65 64 20 | 61 73 20 61 6e 20 61 72 |be used |as an ar|
|00000860| 67 75 6d 65 6e 74 7d 0d | 0a 5c 65 6e 64 7b 64 65 |gument}.|.\end{de|
|00000870| 73 63 72 69 70 74 69 6f | 6e 7d 0d 0a 0d 0a 0d 0a |scriptio|n}......|
|00000880| 5c 73 65 63 74 69 6f 6e | 7b 46 75 6e 63 74 69 6f |\section|{Functio|
|00000890| 6e 73 7d 0d 0a 0d 0a 41 | 6c 6c 20 20 63 6f 6d 6d |ns}....A|ll comm|
|000008a0| 61 6e 64 73 20 20 6f 6e | 6c 79 20 68 61 76 65 20 |ands on|ly have |
|000008b0| 74 6f 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |to be sp|ecified |
|000008c0| 74 6f 20 74 68 65 20 20 | 70 6f 69 6e 74 20 20 74 |to the |point t|
|000008d0| 68 65 79 20 20 61 72 65 | 20 0d 0a 75 6e 69 71 75 |hey are| ..uniqu|
|000008e0| 65 20 28 66 6f 72 20 6d | 6f 73 74 20 63 6f 6d 6d |e (for m|ost comm|
|000008f0| 61 6e 64 73 20 74 68 69 | 73 20 6d 65 61 6e 73 20 |ands thi|s means |
|00000900| 6f 6e 65 20 63 68 61 72 | 61 63 74 65 72 29 2e 20 |one char|acter). |
|00000910| 43 61 73 65 20 69 73 20 | 6e 6f 74 0d 0a 73 69 67 |Case is |not..sig|
|00000920| 6e 69 66 69 63 61 6e 74 | 2e 0d 0a 0d 0a 5c 6d 61 |nificant|.....\ma|
|00000930| 63 7b 41 44 44 7d 7b 69 | 6e 74 31 2c 69 6e 74 32 |c{ADD}{i|nt1,int2|
|00000940| 7d 7b 0d 0a 41 72 69 74 | 68 6d 65 74 69 63 20 73 |}{..Arit|hmetic s|
|00000950| 75 6d 2e 7d 7b 7b 5c 65 | 6d 20 69 6e 74 31 7d 20 |um.}{{\e|m int1} |
|00000960| 2b 20 7b 5c 65 6d 20 69 | 6e 74 32 7d 7d 0d 0a 0d |+ {\em i|nt2}}...|
|00000970| 0a 5c 6d 61 63 7b 41 4e | 44 7d 7b 69 6e 74 31 2c |.\mac{AN|D}{int1,|
|00000980| 69 6e 74 32 7d 7b 0d 0a | 4c 6f 67 69 63 61 6c 20 |int2}{..|Logical |
|00000990| 61 6e 64 2e 7d 7b 7b 5c | 65 6d 20 69 6e 74 31 7d |and.}{{\|em int1}|
|000009a0| 20 61 6e 64 20 7b 5c 65 | 6d 20 69 6e 74 32 7d 7d | and {\e|m int2}}|
|000009b0| 0d 0a 0d 0a 5c 6d 61 63 | 7b 41 53 53 45 52 54 7d |....\mac|{ASSERT}|
|000009c0| 7b 7d 7b 41 73 73 65 72 | 74 20 44 54 52 2e 7d 7b |{}{Asser|t DTR.}{|
|000009d0| 30 7d 0d 0a 0d 0a 5c 6d | 61 63 7b 42 52 45 41 4b |0}....\m|ac{BREAK|
|000009e0| 7d 7b 6c 65 6e 2c 64 72 | 6f 70 2d 64 74 72 7d 7b |}{len,dr|op-dtr}{|
|000009f0| 0d 0a 53 65 6e 64 20 20 | 42 72 65 61 6b 20 20 66 |..Send |Break f|
|00000a00| 6f 72 20 7b 5c 65 6d 20 | 6c 65 6e 7d 20 20 28 69 |or {\em |len} (i|
|00000a10| 6e 74 65 67 65 72 29 20 | 20 6d 53 65 63 2c 20 64 |nteger) | mSec, d|
|00000a20| 72 6f 70 20 20 44 54 52 | 20 20 61 63 63 6f 72 64 |rop DTR| accord|
|00000a30| 69 6e 67 20 20 74 6f 20 | 20 74 68 65 20 20 7b 5c |ing to | the {\|
|00000a40| 65 6d 20 64 72 6f 70 2d | 64 74 72 7d 20 0d 0a 28 |em drop-|dtr} ..(|
|00000a50| 69 6e 74 65 67 65 72 29 | 20 76 61 6c 75 65 2e 7d |integer)| value.}|
|00000a60| 7b 30 7d 0d 0a 0d 0a 5c | 6d 61 63 7b 43 4f 4e 43 |{0}....\|mac{CONC|
|00000a70| 41 54 7d 7b 73 74 72 31 | 2c 73 74 72 32 7d 7b 0d |AT}{str1|,str2}{.|
|00000a80| 0a 43 6f 6e 63 61 74 65 | 6e 61 74 65 20 20 7b 5c |.Concate|nate {\|
|00000a90| 65 6d 20 73 74 72 31 7d | 20 28 73 74 72 69 6e 67 |em str1}| (string|
|00000aa0| 29 20 61 6e 64 20 20 7b | 5c 65 6d 20 73 74 72 32 |) and {|\em str2|
|00000ab0| 7d 20 28 73 74 72 69 6e | 67 29 20 20 61 6e 64 20 |} (strin|g) and |
|00000ac0| 20 70 75 74 20 20 74 68 | 65 20 20 0d 0a 72 65 73 | put th|e ..res|
|00000ad0| 75 6c 74 20 20 69 6e 20 | 20 74 68 65 20 76 61 72 |ult in | the var|
|00000ae0| 69 61 62 6c 65 20 7b 5c | 74 74 20 5c 24 54 45 4d |iable {\|tt \$TEM|
|00000af0| 50 7d 2e 7d 7b 30 7d 0d | 0a 0d 0a 5c 6d 61 63 7b |P}.}{0}.|...\mac{|
|00000b00| 43 4f 50 59 7d 7b 6e 72 | 2c 73 74 72 7d 7b 0d 0a |COPY}{nr|,str}{..|
|00000b10| 43 6f 70 79 20 7b 5c 65 | 6d 20 73 74 72 7d 20 28 |Copy {\e|m str} (|
|00000b20| 73 74 72 69 6e 67 29 20 | 74 6f 20 73 74 72 69 6e |string) |to strin|
|00000b30| 67 20 76 61 72 69 61 62 | 6c 65 20 6e 75 6d 62 65 |g variab|le numbe|
|00000b40| 72 20 7b 5c 65 6d 20 6e | 72 7d 20 28 69 6e 74 65 |r {\em n|r} (inte|
|00000b50| 67 65 72 29 2e 7d 7b 30 | 7d 20 20 0d 0a 0d 0a 5c |ger).}{0|} ....\|
|00000b60| 6d 61 63 7b 43 4f 4d 50 | 41 52 45 7d 7b 73 74 72 |mac{COMP|ARE}{str|
|00000b70| 31 2c 73 74 72 32 7d 7b | 0d 0a 43 6f 6d 70 61 72 |1,str2}{|..Compar|
|00000b80| 65 20 20 7b 5c 65 6d 20 | 73 74 72 31 7d 20 28 73 |e {\em |str1} (s|
|00000b90| 74 72 69 6e 67 29 20 74 | 6f 20 7b 5c 65 6d 20 73 |tring) t|o {\em s|
|00000ba0| 74 72 32 7d 20 28 73 74 | 72 69 6e 67 29 2e 7d 0d |tr2} (st|ring).}.|
|00000bb0| 0a 7b 31 20 69 66 20 7b | 5c 65 6d 20 73 74 72 31 |.{1 if {|\em str1|
|00000bc0| 7d 20 65 71 75 61 6c 73 | 20 7b 5c 65 6d 20 73 74 |} equals| {\em st|
|00000bd0| 72 32 7d 20 65 6c 73 65 | 20 30 2e 7d 0d 0a 0d 0a |r2} else| 0.}....|
|00000be0| 5c 6d 61 63 7b 44 52 4f | 50 7d 7b 7d 7b 44 72 6f |\mac{DRO|P}{}{Dro|
|00000bf0| 70 20 44 54 52 2e 7d 7b | 30 7d 0d 0a 0d 0a 5c 6d |p DTR.}{|0}....\m|
|00000c00| 61 63 7b 44 49 41 4c 7d | 7b 6e 75 6d 7d 7b 44 69 |ac{DIAL}|{num}{Di|
|00000c10| 61 6c 20 6e 75 6d 62 65 | 72 20 7b 5c 65 6d 20 6e |al numbe|r {\em n|
|00000c20| 75 6d 7d 20 28 31 20 74 | 6f 20 31 30 29 2e 7d 0d |um} (1 t|o 10).}.|
|00000c30| 0a 7b 31 20 69 66 20 73 | 75 63 65 73 73 66 75 6c |.{1 if s|ucessful|
|00000c40| 2c 20 30 20 6f 74 68 65 | 72 77 69 73 65 2e 7d 0d |, 0 othe|rwise.}.|
|00000c50| 0a 0d 0a 5c 6d 61 63 7b | 45 43 48 4f 7d 7b 6d 65 |...\mac{|ECHO}{me|
|00000c60| 73 73 61 67 65 7d 7b 45 | 63 68 6f 20 7b 5c 65 6d |ssage}{E|cho {\em|
|00000c70| 20 6d 65 73 73 61 67 65 | 7d 20 28 73 74 72 69 6e | message|} (strin|
|00000c80| 67 29 2e 7d 7b 30 7d 0d | 0a 0d 0a 5c 6d 61 63 7b |g).}{0}.|...\mac{|
|00000c90| 46 49 4c 45 53 45 4c 45 | 43 54 4f 52 7d 7b 70 61 |FILESELE|CTOR}{pa|
|00000ca0| 74 68 2c 66 69 6c 65 6e | 61 6d 65 2c 70 72 6f 6d |th,filen|ame,prom|
|00000cb0| 70 74 7d 7b 0d 0a 53 68 | 6f 77 20 20 61 20 20 66 |pt}{..Sh|ow a f|
|00000cc0| 69 6c 65 73 65 6c 65 63 | 74 6f 72 20 77 69 74 68 |ileselec|tor with|
|00000cd0| 20 20 70 61 74 68 20 20 | 7b 5c 65 6d 20 70 61 74 | path |{\em pat|
|00000ce0| 68 7d 20 28 73 74 72 69 | 6e 67 29 2c 20 20 66 69 |h} (stri|ng), fi|
|00000cf0| 6c 65 6e 61 6d 65 20 7b | 5c 65 6d 20 66 69 6c 65 |lename {|\em file|
|00000d00| 6e 61 6d 65 7d 20 20 28 | 73 74 72 69 6e 67 29 20 |name} (|string) |
|00000d10| 0d 0a 61 6e 64 20 61 20 | 70 72 6f 6d 70 74 20 6f |..and a |prompt o|
|00000d20| 66 20 7b 5c 65 6d 20 70 | 72 6f 6d 70 74 7d 20 20 |f {\em p|rompt} |
|00000d30| 28 73 74 72 69 6e 67 29 | 2e 20 20 54 68 65 20 6e |(string)|. The n|
|00000d40| 65 77 20 76 61 6c 75 65 | 73 20 66 6f 72 20 70 61 |ew value|s for pa|
|00000d50| 74 68 20 61 6e 64 20 66 | 69 6c 65 6e 61 6d 65 20 |th and f|ilename |
|00000d60| 61 72 65 20 20 69 6e 20 | 0d 0a 74 68 65 20 76 61 |are in |..the va|
|00000d70| 72 69 61 62 6c 65 73 20 | 7b 5c 74 74 20 5c 24 50 |riables |{\tt \$P|
|00000d80| 41 54 48 7d 5c 20 61 6e | 64 20 20 7b 5c 74 74 20 |ATH}\ an|d {\tt |
|00000d90| 5c 24 46 49 4c 45 4e 41 | 4d 45 7d 2e 7d 0d 0a 7b |\$FILENA|ME}.}..{|
|00000da0| 31 20 69 66 20 5c 62 75 | 74 74 6f 6e 7b 4f 4b 7d |1 if \bu|tton{OK}|
|00000db0| 5c 20 20 69 73 20 73 65 | 6c 65 63 74 65 64 2c 20 |\ is se|lected, |
|00000dc0| 65 6c 73 65 20 30 2e 7d | 0d 0a 0d 0a 5c 6d 61 63 |else 0.}|....\mac|
|00000dd0| 7b 47 45 54 7d 7b 69 6e | 2d 73 74 72 69 6e 67 2c |{GET}{in|-string,|
|00000de0| 74 69 6d 65 7d 7b 0d 0a | 57 61 69 74 20 66 6f 72 |time}{..|Wait for|
|00000df0| 20 7b 5c 65 6d 20 69 6e | 2d 73 74 72 69 6e 67 7d | {\em in|-string}|
|00000e00| 20 28 73 74 72 69 6e 67 | 29 2c 20 20 77 69 74 68 | (string|), with|
|00000e10| 20 74 69 6d 65 6f 75 74 | 20 7b 5c 65 6d 20 74 69 | timeout| {\em ti|
|00000e20| 6d 65 7d 20 20 20 28 69 | 6e 74 65 67 65 72 29 20 |me} (i|nteger) |
|00000e30| 20 73 65 63 7d 20 0d 0a | 7b 31 20 69 66 20 73 75 | sec} ..|{1 if su|
|00000e40| 63 73 65 73 73 66 75 6c | 2e 7d 0d 0a 0d 0a 5c 6d |csessful|.}....\m|
|00000e50| 61 63 7b 48 41 4e 47 55 | 50 7d 7b 7d 7b 48 61 6e |ac{HANGU|P}{}{Han|
|00000e60| 67 75 70 20 74 68 65 20 | 6d 6f 64 65 6d 2e 7d 7b |gup the |modem.}{|
|00000e70| 30 7d 0d 0a 0d 0a 5c 6d | 61 63 7b 48 49 53 54 4f |0}....\m|ac{HISTO|
|00000e80| 52 59 7d 7b 73 77 69 74 | 63 68 7d 7b 54 75 72 6e |RY}{swit|ch}{Turn|
|00000e90| 20 68 69 73 74 6f 72 79 | 20 72 65 63 6f 72 64 69 | history| recordi|
|00000ea0| 6e 67 20 6f 6e 20 69 66 | 20 7b 5c 65 6d 20 73 77 |ng on if| {\em sw|
|00000eb0| 69 74 63 68 7d 20 69 73 | 20 31 0d 0a 28 64 6f 65 |itch} is| 1..(doe|
|00000ec0| 73 20 6e 6f 74 20 72 65 | 73 65 74 20 74 68 65 20 |s not re|set the |
|00000ed0| 62 75 66 66 65 72 29 2e | 7d 7b 30 7d 0d 0a 0d 0a |buffer).|}{0}....|
|00000ee0| 5c 6d 61 63 7b 49 4e 4c | 49 4e 45 7d 7b 6d 6f 64 |\mac{INL|INE}{mod|
|00000ef0| 65 7d 7b 0d 0a 52 65 61 | 64 73 20 61 20 6c 69 6e |e}{..Rea|ds a lin|
|00000f00| 65 20 66 72 6f 6d 20 74 | 68 65 20 6b 65 79 62 6f |e from t|he keybo|
|00000f10| 61 72 64 20 28 75 6e 74 | 69 6c 20 5c 6b 65 79 7b |ard (unt|il \key{|
|00000f20| 52 65 74 75 72 6e 7d 5c | 20 69 73 20 70 72 65 73 |Return}\| is pres|
|00000f30| 73 65 64 20 6f 72 20 61 | 20 6d 61 78 69 6d 75 6d |sed or a| maximum|
|00000f40| 0d 0a 6f 66 20 38 30 20 | 63 68 61 72 61 63 74 65 |..of 80 |characte|
|00000f50| 72 73 20 61 72 65 20 72 | 65 61 64 2c 20 5c 6b 65 |rs are r|ead, \ke|
|00000f60| 79 74 77 6f 7b 43 6f 6e | 74 72 6f 6c 7d 7b 43 7d |ytwo{Con|trol}{C}|
|00000f70| 5c 20 61 62 6f 72 74 73 | 29 2c 20 69 66 20 7b 5c |\ aborts|), if {\|
|00000f80| 65 6d 20 6d 6f 64 65 7d | 20 28 69 6e 74 65 67 65 |em mode}| (intege|
|00000f90| 72 29 20 69 73 20 0d 0a | 20 31 20 28 74 72 75 65 |r) is ..| 1 (true|
|00000fa0| 29 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |) the ch|aracters|
|00000fb0| 20 61 72 65 20 65 63 68 | 6f 65 64 2e 20 5c 6b 65 | are ech|oed. \ke|
|00000fc0| 79 7b 44 65 6c 65 74 65 | 7d 5c 20 61 6e 64 20 5c |y{Delete|}\ and \|
|00000fd0| 6b 65 79 7b 42 61 63 6b | 73 70 61 63 65 7d 0d 0a |key{Back|space}..|
|00000fe0| 63 61 75 73 65 20 61 20 | 64 65 73 74 72 75 63 74 |cause a |destruct|
|00000ff0| 69 76 65 20 62 61 63 6b | 73 70 61 63 65 2e 20 54 |ive back|space. T|
|00001000| 68 65 20 6c 69 6e 65 20 | 72 65 61 64 20 69 73 20 |he line |read is |
|00001010| 63 6f 70 69 65 64 20 69 | 6e 74 6f 20 7b 5c 74 74 |copied i|nto {\tt|
|00001020| 20 5c 24 54 45 4d 50 7d | 2e 7d 7b 30 7d 20 0d 0a | \$TEMP}|.}{0} ..|
|00001030| 0d 0a 0d 0a 5c 6d 61 63 | 7b 49 4e 50 55 54 7d 7b |....\mac|{INPUT}{|
|00001040| 70 72 6f 6d 70 74 7d 7b | 0d 0a 50 72 6f 6d 70 74 |prompt}{|..Prompt|
|00001050| 20 66 6f 72 20 61 20 6c | 69 6e 65 20 6f 66 20 69 | for a l|ine of i|
|00001060| 6e 70 75 74 2c 20 72 65 | 73 75 6c 74 20 69 73 20 |nput, re|sult is |
|00001070| 69 6e 20 7b 5c 74 74 20 | 5c 24 54 45 4d 50 7d 2c |in {\tt |\$TEMP},|
|00001080| 20 20 20 0d 0a 7b 5c 65 | 6d 20 70 72 6f 6d 70 74 | ..{\e|m prompt|
|00001090| 7d 20 20 69 73 20 20 61 | 20 20 20 73 74 72 69 6e |} is a| strin|
|000010a0| 67 2e 7d 0d 0a 7b 31 20 | 69 66 20 5c 62 75 74 74 |g.}..{1 |if \butt|
|000010b0| 6f 6e 7b 4f 4b 7d 5c 20 | 20 69 73 20 73 65 6c 65 |on{OK}\ | is sele|
|000010c0| 63 74 65 64 2e 7d 0d 0a | 0d 0a 0d 0a 5c 6c 6f 6e |cted.}..|....\lon|
|000010d0| 67 6d 61 63 7b 4b 45 52 | 4d 49 54 7d 7b 6d 6f 64 |gmac{KER|MIT}{mod|
|000010e0| 65 2c 38 2d 62 69 74 2d | 6d 6f 64 65 2c 66 69 6c |e,8-bit-|mode,fil|
|000010f0| 65 73 70 65 63 7d 7b 0d | 0a 53 74 61 72 74 20 20 |espec}{.|.Start |
|00001100| 20 4b 65 72 6d 69 74 20 | 20 66 69 6c 65 74 72 61 | Kermit | filetra|
|00001110| 6e 73 66 65 72 20 20 77 | 69 74 68 20 20 20 74 68 |nsfer w|ith th|
|00001120| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 70 61 72 61 |e follow|ing para|
|00001130| 6d 65 74 65 72 73 3a 7d | 7b 0d 0a 7b 5c 65 6d 20 |meters:}|{..{\em |
|00001140| 6d 6f 64 65 7d 20 28 73 | 74 72 69 6e 67 29 3a 5c |mode} (s|tring):\|
|00001150| 3e 7b 5c 74 74 20 53 45 | 4e 44 7d 20 3a 20 73 65 |>{\tt SE|ND} : se|
|00001160| 6e 64 20 66 69 6c 65 28 | 73 29 20 5c 5c 0d 0a 20 |nd file(|s) \\.. |
|00001170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001180| 20 20 20 5c 3e 7b 5c 74 | 74 20 52 45 43 7d 20 20 | \>{\t|t REC} |
|00001190| 3a 20 72 65 63 65 69 76 | 65 20 66 69 6c 65 28 73 |: receiv|e file(s|
|000011a0| 29 20 5c 5c 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |) \\.. | |
|000011b0| 20 20 20 20 20 20 20 20 | 20 20 5c 3e 7b 5c 74 74 | | \>{\tt|
|000011c0| 20 47 45 54 7d 20 20 3a | 20 72 65 63 65 69 76 65 | GET} :| receive|
|000011d0| 20 66 69 6c 65 28 73 29 | 20 66 72 6f 6d 20 73 65 | file(s)| from se|
|000011e0| 72 76 65 72 20 5c 5c 0d | 0a 7b 5c 65 6d 20 38 2d |rver \\.|.{\em 8-|
|000011f0| 62 69 74 2d 6d 6f 64 65 | 7d 20 28 69 6e 74 65 67 |bit-mode|} (integ|
|00001200| 65 72 29 3a 5c 3e 7b 5c | 74 74 20 30 7d 20 3a 20 |er):\>{\|tt 0} : |
|00001210| 37 20 62 69 74 20 41 53 | 43 49 49 20 74 65 78 74 |7 bit AS|CII text|
|00001220| 20 5c 5c 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 | \\.. | |
|00001230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001240| 5c 3e 7b 5c 74 74 20 31 | 7d 20 20 3a 20 38 20 62 |\>{\tt 1|} : 8 b|
|00001250| 69 74 20 62 69 6e 61 72 | 79 20 5c 5c 0d 0a 7b 5c |it binar|y \\..{\|
|00001260| 65 6d 20 66 69 6c 65 73 | 70 65 63 7d 20 28 73 74 |em files|pec} (st|
|00001270| 72 69 6e 67 29 3a 20 5c | 3e 66 69 6c 65 20 73 70 |ring): \|>file sp|
|00001280| 65 63 69 66 69 63 61 74 | 69 6f 6e 20 20 77 69 74 |ecificat|ion wit|
|00001290| 68 20 77 69 6c 64 63 61 | 72 64 73 7d 0d 0a 7b 30 |h wildca|rds}..{0|
|000012a0| 7d 0d 0a 0d 0a 5c 6d 61 | 63 7b 4c 4f 41 44 53 45 |}....\ma|c{LOADSE|
|000012b0| 54 55 50 7d 7b 6e 61 6d | 65 7d 7b 20 20 20 0d 0a |TUP}{nam|e}{ ..|
|000012c0| 4c 6f 61 64 20 20 74 68 | 65 20 20 73 65 74 75 70 |Load th|e setup|
|000012d0| 20 66 69 6c 65 20 77 69 | 74 68 20 20 6e 61 6d 65 | file wi|th name|
|000012e0| 20 20 7b 5c 65 6d 20 6e | 61 6d 65 7d 20 28 73 74 | {\em n|ame} (st|
|000012f0| 72 69 6e 67 29 2e 7d 7b | 30 7d 0d 0a 0d 0a 5c 6d |ring).}{|0}....\m|
|00001300| 61 63 7b 4c 4f 41 44 54 | 45 4c 7d 7b 66 69 6c 65 |ac{LOADT|EL}{file|
|00001310| 6e 61 6d 65 7d 7b 4c 6f | 61 64 20 61 20 64 69 61 |name}{Lo|ad a dia|
|00001320| 6c 65 72 20 73 65 74 75 | 70 20 66 69 6c 65 2e 7d |ler setu|p file.}|
|00001330| 7b 30 7d 0d 0a 20 20 0d | 0a 5c 6d 61 63 7b 4d 45 |{0}.. .|.\mac{ME|
|00001340| 53 53 41 47 45 7d 7b 6d | 73 67 7d 7b 0d 0a 44 69 |SSAGE}{m|sg}{..Di|
|00001350| 73 70 6c 61 79 73 20 7b | 5c 65 6d 20 6d 73 67 7d |splays {|\em msg}|
|00001360| 20 28 73 74 72 69 6e 67 | 29 20 6f 6e 20 74 68 65 | (string|) on the|
|00001370| 20 73 74 61 74 75 73 6c | 69 6e 65 2e 20 49 66 20 | statusl|ine. If |
|00001380| 7b 5c 65 6d 20 6d 73 67 | 7d 20 69 73 20 65 6d 70 |{\em msg|} is emp|
|00001390| 74 79 20 74 68 65 0d 0a | 6e 6f 72 6d 61 6c 20 73 |ty the..|normal s|
|000013a0| 74 61 74 75 73 6c 69 6e | 65 20 69 73 20 72 65 73 |tatuslin|e is res|
|000013b0| 74 6f 72 65 64 2e 7d 7b | 30 7d 0d 0a 0d 0a 5c 6d |tored.}{|0}....\m|
|000013c0| 61 63 7b 4d 41 43 52 4f | 7d 7b 6e 61 6d 65 7d 7b |ac{MACRO|}{name}{|
|000013d0| 45 78 65 63 75 74 65 20 | 20 74 68 65 20 20 6d 61 |Execute | the ma|
|000013e0| 63 72 6f 20 20 77 69 74 | 68 20 20 66 69 6c 65 6e |cro wit|h filen|
|000013f0| 61 6d 65 20 20 7b 5c 65 | 6d 20 6e 61 6d 65 7d 20 |ame {\e|m name} |
|00001400| 0d 0a 28 73 74 72 69 6e | 67 29 20 66 72 6f 6d 20 |..(strin|g) from |
|00001410| 64 69 73 6b 2c 20 20 64 | 65 66 61 75 6c 74 20 70 |disk, d|efault p|
|00001420| 61 74 68 20 69 73 20 74 | 68 65 20 63 75 72 72 65 |ath is t|he curre|
|00001430| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 7d 0d 0a 7b |nt direc|tory}..{|
|00001440| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |the valu|e of the|
|00001450| 20 65 78 69 74 20 63 6f | 6d 6d 61 6e 64 2c 20 6f | exit co|mmand, o|
|00001460| 72 20 0d 0a 5c 62 65 67 | 69 6e 7b 71 75 6f 74 65 |r ..\beg|in{quote|
|00001470| 7d 0d 0a 20 20 20 2d 33 | 20 3a 20 73 79 6e 74 61 |}.. -3| : synta|
|00001480| 78 20 65 72 72 6f 72 20 | 28 6c 69 6e 65 20 69 6e |x error |(line in|
|00001490| 20 5c 24 54 45 4d 50 29 | 20 5c 5c 0d 0a 20 20 20 | \$TEMP)| \\.. |
|000014a0| 2d 32 20 3a 20 6e 6f 74 | 20 65 6e 6f 75 67 68 20 |-2 : not| enough |
|000014b0| 73 74 61 63 6b 20 28 6e | 65 73 74 65 64 20 6d 6f |stack (n|ested mo|
|000014c0| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 6c 65 76 65 |re than |one leve|
|000014d0| 6c 29 20 5c 5c 0d 0a 20 | 20 20 2d 31 20 3a 20 6d |l) \\.. | -1 : m|
|000014e0| 61 63 72 6f 20 62 75 66 | 66 65 72 20 66 75 6c 6c |acro buf|fer full|
|000014f0| 20 28 6d 6f 72 65 20 74 | 68 61 6e 20 34 6b 42 29 | (more t|han 4kB)|
|00001500| 2e 0d 0a 5c 65 6e 64 7b | 71 75 6f 74 65 7d 0d 0a |...\end{|quote}..|
|00001510| 7d 0d 0a 0d 0a 5c 6d 61 | 63 7b 4f 52 7d 7b 69 6e |}....\ma|c{OR}{in|
|00001520| 74 31 2c 69 6e 74 32 7d | 7b 0d 0a 4c 6f 67 69 63 |t1,int2}|{..Logic|
|00001530| 61 6c 20 6f 72 2e 7d 7b | 7b 5c 65 6d 20 69 6e 74 |al or.}{|{\em int|
|00001540| 31 7d 20 6f 72 20 7b 5c | 65 6d 20 69 6e 74 32 7d |1} or {\|em int2}|
|00001550| 7d 0d 0a 0d 0a 5c 6d 61 | 63 7b 50 41 54 48 7d 7b |}....\ma|c{PATH}{|
|00001560| 70 61 74 68 7d 7b 43 68 | 61 6e 67 65 20 64 65 66 |path}{Ch|ange def|
|00001570| 61 75 6c 74 20 70 61 74 | 68 20 74 6f 20 7b 5c 65 |ault pat|h to {\e|
|00001580| 6d 20 70 61 74 68 7d 20 | 28 73 74 72 69 6e 67 29 |m path} |(string)|
|00001590| 2e 7d 7b 30 7d 0d 0a 0d | 0a 5c 6c 6f 6e 67 6d 61 |.}{0}...|.\longma|
|000015a0| 63 7b 50 4f 50 55 50 7d | 7b 65 6e 74 72 79 2c 63 |c{POPUP}|{entry,c|
|000015b0| 6f 6d 6d 61 6e 64 2c 6e | 61 6d 65 7d 7b 52 65 64 |ommand,n|ame}{Red|
|000015c0| 65 66 69 6e 65 73 20 61 | 6e 20 65 6e 74 72 79 20 |efines a|n entry |
|000015d0| 69 6e 20 74 68 65 20 70 | 6f 70 75 70 20 6d 65 6e |in the p|opup men|
|000015e0| 75 3a 7d 7b 0d 0a 7b 5c | 65 6d 20 65 6e 74 72 79 |u:}{..{\|em entry|
|000015f0| 7d 20 3a 20 5c 3e 31 2e | 2e 32 30 20 5c 5c 0d 0a |} : \>1.|.20 \\..|
|00001600| 7b 5c 65 6d 20 63 6f 6d | 6d 61 6e 64 7d 20 3a 20 |{\em com|mand} : |
|00001610| 5c 3e 73 65 65 20 6c 69 | 73 74 20 5c 5c 0d 0a 7b |\>see li|st \\..{|
|00001620| 5c 65 6d 20 6e 61 6d 65 | 7d 20 3a 20 5c 3e 20 73 |\em name|} : \> s|
|00001630| 74 72 69 6e 67 20 74 68 | 61 74 20 77 69 6c 6c 20 |tring th|at will |
|00001640| 62 65 20 64 69 73 70 6c | 61 79 65 64 7d 7b 30 7d |be displ|ayed}{0}|
|00001650| 0d 0a 0d 0a 5c 6d 61 63 | 7b 52 55 4e 7d 7b 6e 61 |....\mac|{RUN}{na|
|00001660| 6d 65 2c 63 6f 6d 6d 61 | 6e 64 6c 69 6e 65 7d 7b |me,comma|ndline}{|
|00001670| 0d 0a 45 78 65 63 75 74 | 65 20 70 72 6f 67 72 61 |..Execut|e progra|
|00001680| 6d 20 7b 5c 65 6d 20 6e | 61 6d 65 7d 20 28 73 74 |m {\em n|ame} (st|
|00001690| 72 69 6e 67 29 20 77 69 | 74 68 20 7b 5c 65 6d 20 |ring) wi|th {\em |
|000016a0| 63 6f 6d 6d 61 6e 64 6c | 69 6e 65 7d 20 63 6f 6d |commandl|ine} com|
|000016b0| 6d 61 6e 64 6c 69 6e 65 | 20 28 73 74 72 69 6e 67 |mandline| (string|
|000016c0| 29 2e 20 0d 0a 49 66 20 | 20 69 74 73 20 61 20 7b |). ..If | its a {|
|000016d0| 5c 74 74 20 2e 54 54 50 | 7d 20 70 72 6f 67 72 61 |\tt .TTP|} progra|
|000016e0| 6d 20 79 6f 75 27 6c 6c | 20 62 65 20 20 61 73 6b |m you'll| be ask|
|000016f0| 65 64 20 66 6f 72 20 70 | 61 72 61 6d 65 74 65 72 |ed for p|arameter|
|00001700| 73 2e 7d 0d 0a 7b 52 65 | 74 75 72 6e 20 63 6f 64 |s.}..{Re|turn cod|
|00001710| 65 20 6f 66 20 70 72 6f | 67 72 61 6d 2e 7d 0d 0a |e of pro|gram.}..|
|00001720| 0d 0a 5c 6d 61 63 7b 52 | 45 41 53 53 49 47 4e 7d |..\mac{R|EASSIGN}|
|00001730| 7b 61 6c 74 2d 6b 65 79 | 2c 63 6f 6d 6d 61 6e 64 |{alt-key|,command|
|00001740| 7d 7b 0d 0a 41 73 73 69 | 67 6e 73 20 20 69 6e 74 |}{..Assi|gns int|
|00001750| 65 67 65 72 20 20 76 61 | 6c 75 65 20 7b 5c 65 6d |eger va|lue {\em|
|00001760| 20 63 6f 6d 6d 61 6e 64 | 7d 20 20 74 6f 20 20 74 | command|} to t|
|00001770| 68 65 20 61 6c 74 65 72 | 6e 61 74 65 20 6b 65 79 |he alter|nate key|
|00001780| 20 76 61 6c 75 65 20 7b | 5c 65 6d 20 61 6c 74 2d | value {|\em alt-|
|00001790| 6b 65 79 7d 2e 7d 0d 0a | 7b 30 7d 0d 0a 0d 0a 5c |key}.}..|{0}....\|
|000017a0| 6d 61 63 7b 53 45 4e 44 | 7d 7b 6f 75 74 2d 73 74 |mac{SEND|}{out-st|
|000017b0| 72 69 6e 67 7d 7b 53 65 | 6e 64 20 7b 5c 65 6d 20 |ring}{Se|nd {\em |
|000017c0| 6f 75 74 2d 73 74 72 69 | 6e 67 7d 20 28 73 74 72 |out-stri|ng} (str|
|000017d0| 69 6e 67 29 2e 7d 7b 30 | 7d 0d 0a 0d 0a 5c 6d 61 |ing).}{0|}....\ma|
|000017e0| 63 7b 53 45 54 7d 7b 6e | 72 2c 69 6e 74 7d 7b 0d |c{SET}{n|r,int}{.|
|000017f0| 0a 53 65 74 20 69 6e 74 | 65 67 65 72 20 76 61 72 |.Set int|eger var|
|00001800| 69 61 62 6c 65 20 6e 75 | 6d 62 65 72 20 7b 5c 65 |iable nu|mber {\e|
|00001810| 6d 20 6e 72 7d 20 28 69 | 6e 74 65 67 65 72 29 20 |m nr} (i|nteger) |
|00001820| 74 6f 20 7b 5c 65 6d 20 | 69 6e 74 7d 20 28 69 6e |to {\em |int} (in|
|00001830| 74 65 67 65 72 29 7d 7b | 30 7d 20 20 0d 0a 0d 0a |teger)}{|0} ....|
|00001840| 5c 6d 61 63 7b 53 55 53 | 50 45 4e 44 7d 7b 7d 7b |\mac{SUS|PEND}{}{|
|00001850| 0d 0a 44 69 73 70 6c 61 | 79 73 20 20 60 60 50 72 |..Displa|ys ``Pr|
|00001860| 65 73 73 20 61 6e 79 20 | 6b 65 79 2e 2e 2e 27 27 |ess any |key...''|
|00001870| 20 6f 6e 20 74 68 65 20 | 73 74 61 74 75 73 6c 69 | on the |statusli|
|00001880| 6e 65 20 61 6e 64 20 77 | 61 69 74 73 20 66 6f 72 |ne and w|aits for|
|00001890| 20 61 20 6b 65 79 70 72 | 65 73 73 2e 7d 0d 0a 7b | a keypr|ess.}..{|
|000018a0| 30 7d 0d 0a 0d 0a 5c 6d | 61 63 7b 57 41 49 54 7d |0}....\m|ac{WAIT}|
|000018b0| 7b 74 69 6d 65 7d 7b 57 | 61 69 74 20 66 6f 72 20 |{time}{W|ait for |
|000018c0| 7b 5c 65 6d 20 74 69 6d | 65 7d 20 28 69 6e 74 65 |{\em tim|e} (inte|
|000018d0| 67 65 72 29 20 6d 53 65 | 63 24 5c 74 69 6d 65 73 |ger) mSe|c$\times|
|000018e0| 24 31 30 30 2e 7d 7b 30 | 7d 0d 0a 0d 0a 5c 6d 61 |$100.}{0|}....\ma|
|000018f0| 63 7b 55 4e 49 43 4f 4d | 4d 41 4e 44 7d 7b 63 6f |c{UNICOM|MAND}{co|
|00001900| 6d 6d 61 6e 64 7d 7b 0d | 0a 45 78 65 63 75 74 65 |mmand}{.|.Execute|
|00001910| 20 20 20 6f 6e 65 20 20 | 6f 66 20 20 20 55 6e 69 | one |of Uni|
|00001920| 54 65 72 6d 27 73 20 20 | 20 69 6e 74 65 72 6e 61 |Term's | interna|
|00001930| 6c 20 63 6f 6d 6d 61 6e | 64 73 2c 20 73 65 65 20 |l comman|ds, see |
|00001940| 6c 69 73 74 2e 7d 7b 30 | 7d 0d 0a 0d 0a 5c 6c 6f |list.}{0|}....\lo|
|00001950| 6e 67 6d 61 63 7b 58 4d | 4f 44 45 4d 7d 7b 6d 6f |ngmac{XM|ODEM}{mo|
|00001960| 64 65 2c 66 69 6c 65 7d | 7b 0d 0a 53 74 61 72 74 |de,file}|{..Start|
|00001970| 20 58 4d 6f 64 65 6d 20 | 77 69 74 68 3a 7d 7b 0d | XModem |with:}{.|
|00001980| 0a 7b 5c 65 6d 20 6d 6f | 64 65 7d 20 28 73 74 72 |.{\em mo|de} (str|
|00001990| 69 6e 67 29 3a 5c 3e 7b | 5c 74 74 20 53 45 4e 44 |ing):\>{|\tt SEND|
|000019a0| 7d 20 3a 20 73 65 6e 64 | 20 66 69 6c 65 20 5c 5c |} : send| file \\|
|000019b0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000019c0| 20 20 20 20 20 20 5c 3e | 7b 5c 74 74 20 52 45 43 | \>|{\tt REC|
|000019d0| 7d 20 20 3a 20 72 65 63 | 65 69 76 65 20 66 69 6c |} : rec|eive fil|
|000019e0| 65 20 5c 5c 20 0d 0a 7b | 5c 65 6d 20 66 69 6c 65 |e \\ ..{|\em file|
|000019f0| 7d 20 28 73 74 72 69 6e | 67 29 3a 20 5c 3e 66 69 |} (strin|g): \>fi|
|00001a00| 6c 65 20 74 6f 20 73 65 | 6e 64 2f 72 65 63 65 69 |le to se|nd/recei|
|00001a10| 76 65 7d 0d 0a 7b 30 7d | 0d 0a 0d 0a 5c 6c 6f 6e |ve}..{0}|....\lon|
|00001a20| 67 6d 61 63 7b 59 4d 4f | 44 45 4d 7d 7b 6d 6f 64 |gmac{YMO|DEM}{mod|
|00001a30| 65 2c 66 69 6c 65 73 70 | 65 63 7d 7b 0d 0a 53 74 |e,filesp|ec}{..St|
|00001a40| 61 72 74 20 59 4d 6f 64 | 65 6d 20 77 69 74 68 3a |art YMod|em with:|
|00001a50| 7d 7b 0d 0a 7b 5c 65 6d | 20 6d 6f 64 65 7d 20 28 |}{..{\em| mode} (|
|00001a60| 73 74 72 69 6e 67 29 3a | 5c 3e 7b 5c 74 74 20 53 |string):|\>{\tt S|
|00001a70| 45 4e 44 7d 20 3a 20 73 | 65 6e 64 20 66 69 6c 65 |END} : s|end file|
|00001a80| 28 73 29 20 5c 5c 0d 0a | 20 20 20 20 20 20 20 20 |(s) \\..| |
|00001a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 3e 7b 5c | | \>{\|
|00001aa0| 74 74 20 52 45 43 7d 20 | 20 3a 20 72 65 63 65 69 |tt REC} | : recei|
|00001ab0| 76 65 20 66 69 6c 65 28 | 73 29 20 5c 5c 0d 0a 7b |ve file(|s) \\..{|
|00001ac0| 5c 65 6d 20 66 69 6c 65 | 73 70 65 63 7d 20 28 73 |\em file|spec} (s|
|00001ad0| 74 72 69 6e 67 29 3a 20 | 5c 3e 66 69 6c 65 20 73 |tring): |\>file s|
|00001ae0| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 20 20 77 69 |pecifica|tion wi|
|00001af0| 74 68 20 77 69 6c 64 63 | 61 72 64 73 7d 0d 0a 7b |th wildc|ards}..{|
|00001b00| 30 7d 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |0}.... | |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b30| 20 20 20 20 0d 0a 5c 73 | 65 63 74 69 6f 6e 7b 50 | ..\s|ection{P|
|00001b40| 72 65 66 69 78 20 4f 70 | 65 72 61 74 6f 72 73 7d |refix Op|erators}|
|00001b50| 0d 0a 5c 62 65 67 69 6e | 7b 74 61 62 62 69 6e 67 |..\begin|{tabbing|
|00001b60| 7d 0d 0a 4d 4d 4d 4d 4d | 4d 4d 5c 3d 4d 4d 4d 4d |}..MMMMM|MM\=MMMM|
|00001b70| 5c 3d 5c 6b 69 6c 6c 0d | 0a 20 20 5c 3e 7b 5c 74 |\=\kill.|. \>{\t|
|00001b80| 74 20 2d 20 7d 20 5c 3e | 6e 65 67 61 74 65 20 69 |t - } \>|negate i|
|00001b90| 6e 74 65 67 65 72 20 76 | 61 6c 75 65 20 5c 5c 0d |nteger v|alue \\.|
|00001ba0| 0a 20 20 5c 3e 7b 5c 74 | 74 20 21 20 7d 20 5c 3e |. \>{\t|t ! } \>|
|00001bb0| 6c 6f 67 69 63 61 6c 20 | 6e 6f 74 20 5c 5c 0d 0a |logical |not \\..|
|00001bc0| 20 20 5c 3e 7b 5c 74 74 | 20 22 20 7d 20 5c 3e 72 | \>{\tt| " } \>r|
|00001bd0| 65 74 75 72 6e 20 69 6e | 74 65 67 65 72 20 61 73 |eturn in|teger as|
|00001be0| 20 73 74 72 69 6e 67 20 | 5c 5c 0d 0a 20 20 5c 3e | string |\\.. \>|
|00001bf0| 7b 5c 74 74 20 2e 20 7d | 20 5c 3e 72 65 74 75 72 |{\tt . }| \>retur|
|00001c00| 6e 20 73 74 72 69 6e 67 | 20 61 73 20 69 6e 74 65 |n string| as inte|
|00001c10| 67 65 72 20 5c 5c 0d 0a | 5c 65 6e 64 7b 74 61 62 |ger \\..|\end{tab|
|00001c20| 62 69 6e 67 7d 0d 0a 0d | 0a 42 75 67 3a 20 7b 5c |bing}...|.Bug: {\|
|00001c30| 74 74 20 2e 7d 20 61 6e | 64 20 7b 5c 74 74 20 22 |tt .} an|d {\tt "|
|00001c40| 7d 20 64 6f 6e 27 74 20 | 6b 6e 6f 77 20 61 62 6f |} don't |know abo|
|00001c50| 75 74 20 6e 65 67 61 74 | 69 76 65 20 69 6e 74 65 |ut negat|ive inte|
|00001c60| 67 65 72 73 21 0d 0a 0d | 0a 0d 0a 5c 73 65 63 74 |gers!...|...\sect|
|00001c70| 69 6f 6e 7b 53 74 72 69 | 6e 67 20 43 6f 6e 73 74 |ion{Stri|ng Const|
|00001c80| 61 6e 74 73 7d 0d 0a 0d | 0a 20 53 74 72 69 6e 67 |ants}...|. String|
|00001c90| 20 63 6f 6e 73 74 61 6e | 74 73 20 61 72 65 20 61 | constan|ts are a|
|00001ca0| 20 6d 61 78 69 6d 75 6d | 20 6f 66 20 38 30 20 63 | maximum| of 80 c|
|00001cb0| 68 61 72 61 63 74 65 72 | 73 20 6c 6f 6e 67 20 61 |haracter|s long a|
|00001cc0| 6e 64 20 61 72 65 20 65 | 6e 63 6c 6f 73 65 64 20 |nd are e|nclosed |
|00001cd0| 69 6e 20 0d 0a 73 69 6e | 67 6c 65 20 71 75 6f 74 |in ..sin|gle quot|
|00001ce0| 65 73 2e 20 53 70 65 63 | 69 61 6c 20 41 53 43 49 |es. Spec|ial ASCI|
|00001cf0| 49 20 76 61 6c 75 65 73 | 20 63 61 6e 20 62 65 20 |I values| can be |
|00001d00| 65 6e 74 65 72 65 64 20 | 77 69 74 68 20 74 68 65 |entered |with the|
|00001d10| 20 65 73 63 61 70 65 20 | 63 68 61 72 61 63 74 65 | escape |characte|
|00001d20| 72 0d 0a 5c 42 73 6c 61 | 73 68 20 3b 20 65 76 65 |r..\Bsla|sh ; eve|
|00001d30| 72 79 20 63 68 61 72 61 | 63 74 65 72 20 61 66 74 |ry chara|cter aft|
|00001d40| 65 72 20 20 5c 42 73 6c | 61 73 68 5c 20 65 71 75 |er \Bsl|ash\ equ|
|00001d50| 61 6c 73 20 69 74 73 65 | 6c 66 2c 20 65 78 63 65 |als itse|lf, exce|
|00001d60| 70 74 3a 0d 0a 5c 62 65 | 67 69 6e 7b 74 61 62 62 |pt:..\be|gin{tabb|
|00001d70| 69 6e 67 7d 0d 0a 4d 4d | 4d 4d 4d 4d 4d 5c 3d 4d |ing}..MM|MMMMM\=M|
|00001d80| 4d 4d 4d 5c 3d 5c 6b 69 | 6c 6c 0d 0a 20 20 20 20 |MMM\=\ki|ll.. |
|00001d90| 20 5c 3e 20 72 20 20 20 | 20 5c 3e 3a 20 69 73 20 | \> r | \>: is |
|00001da0| 5c 41 53 43 49 49 7b 43 | 52 7d 20 5c 5c 0d 0a 20 |\ASCII{C|R} \\.. |
|00001db0| 20 20 20 20 5c 3e 20 6e | 20 20 20 20 5c 3e 3a 20 | \> n| \>: |
|00001dc0| 69 73 20 5c 41 53 43 49 | 49 7b 4c 46 7d 20 5c 5c |is \ASCI|I{LF} \\|
|00001dd0| 0d 0a 20 20 20 20 20 5c | 3e 20 30 78 78 20 20 5c |.. \|> 0xx \|
|00001de0| 3e 3a 20 5c 42 73 6c 61 | 73 68 20 30 78 78 20 69 |>: \Bsla|sh 0xx i|
|00001df0| 73 20 74 68 65 20 6f 63 | 74 61 6c 20 41 53 43 49 |s the oc|tal ASCI|
|00001e00| 49 20 76 61 6c 75 65 20 | 30 78 78 20 5c 5c 0d 0a |I value |0xx \\..|
|00001e10| 5c 65 6e 64 7b 74 61 62 | 62 69 6e 67 7d 0d 0a 0d |\end{tab|bing}...|
|00001e20| 0a 5c 73 65 63 74 69 6f | 6e 7b 50 72 65 64 65 66 |.\sectio|n{Predef|
|00001e30| 69 6e 65 64 20 53 74 72 | 69 6e 67 20 56 61 72 69 |ined Str|ing Vari|
|00001e40| 61 62 6c 65 73 7d 0d 0a | 0d 0a 5c 62 65 67 69 6e |ables}..|..\begin|
|00001e50| 7b 64 65 73 63 72 69 70 | 74 69 6f 6e 7d 0d 0a 5c |{descrip|tion}..\|
|00001e60| 65 78 70 6c 61 69 6e 6e | 6f 69 7b 7b 5c 74 74 20 |explainn|oi{{\tt |
|00001e70| 5c 24 50 41 54 48 7d 7d | 7b 5c 69 6e 64 65 78 7b |\$PATH}}|{\index{|
|00001e80| 56 61 72 69 61 62 6c 65 | 20 50 41 54 48 7d 20 20 |Variable| PATH} |
|00001e90| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 20 6c 61 |contains| the la|
|00001ea0| 73 74 20 20 66 69 6c 65 | 0d 0a 20 20 20 20 20 20 |st file|.. |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ec0| 20 20 20 20 20 20 20 73 | 65 6c 65 63 74 6f 72 20 | s|elector |
|00001ed0| 20 70 61 74 68 2c 20 20 | 69 73 20 69 6e 69 74 69 | path, |is initi|
|00001ee0| 61 6c 69 7a 65 64 20 20 | 74 6f 20 0d 0a 20 20 20 |alized |to .. |
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f00| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 20 68 6f | | the ho|
|00001f10| 6d 65 20 64 69 72 65 63 | 74 6f 72 79 20 6f 66 20 |me direc|tory of |
|00001f20| 55 6e 69 54 65 72 6d 2e | 7d 0d 0a 5c 65 78 70 6c |UniTerm.|}..\expl|
|00001f30| 61 69 6e 6e 6f 69 7b 7b | 5c 74 74 20 5c 24 46 49 |ainnoi{{|\tt \$FI|
|00001f40| 4c 45 4e 41 4d 45 7d 7d | 7b 5c 69 6e 64 65 78 7b |LENAME}}|{\index{|
|00001f50| 56 61 72 69 61 62 6c 65 | 20 46 49 4c 45 4e 41 4d |Variable| FILENAM|
|00001f60| 45 7d 20 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |E} cont|ains the|
|00001f70| 20 20 6c 61 73 74 20 20 | 66 69 6c 65 0d 0a 20 20 | last |file.. |
|00001f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 73 65 6c 65 63 | | selec|
|00001fa0| 74 6f 72 20 66 69 6c 65 | 6e 61 6d 65 2c 20 20 69 |tor file|name, i|
|00001fb0| 73 20 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 0d |s initi|alized .|
|00001fc0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 6f | | to|
|00001fe0| 20 27 5c 2c 27 2e 7d 0d | 0a 5c 65 78 70 6c 61 69 | '\,'.}.|.\explai|
|00001ff0| 6e 6e 6f 69 7b 7b 5c 74 | 74 20 5c 24 43 55 52 52 |nnoi{{\t|t \$CURR|
|00002000| 45 4e 54 7d 7d 7b 5c 69 | 6e 64 65 78 7b 56 61 72 |ENT}}{\i|ndex{Var|
|00002010| 69 61 62 6c 65 20 43 55 | 52 52 45 4e 54 7d 20 63 |iable CU|RRENT} c|
|00002020| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 63 75 72 72 |ontains |the curr|
|00002030| 65 6e 74 20 20 47 45 4d | 0d 0a 20 20 20 20 20 20 |ent GEM|.. |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 20 20 20 20 20 20 44 | 4f 53 20 70 61 74 68 2e | D|OS path.|
|00002060| 7d 0d 0a 5c 65 78 70 6c | 61 69 6e 6e 6f 69 7b 7b |}..\expl|ainnoi{{|
|00002070| 5c 74 74 20 5c 24 54 45 | 4d 50 7d 7d 7b 5c 69 6e |\tt \$TE|MP}}{\in|
|00002080| 64 65 78 7b 56 61 72 69 | 61 62 6c 65 20 54 45 4d |dex{Vari|able TEM|
|00002090| 50 7d 20 74 65 6d 70 6f | 72 79 20 73 74 72 69 6e |P} tempo|ry strin|
|000020a0| 67 20 66 6f 72 20 75 73 | 65 20 20 69 6e 20 0d 0a |g for us|e in ..|
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 | | the|
|000020d0| 20 6d 61 63 72 6f 20 70 | 72 6f 63 65 73 73 6f 72 | macro p|rocessor|
|000020e0| 2e 7d 20 20 0d 0a 5c 65 | 78 70 6c 61 69 6e 6e 6f |.} ..\e|xplainno|
|000020f0| 69 7b 7b 5c 74 74 20 5c | 24 56 41 52 7d 7d 7b 5c |i{{\tt \|$VAR}}{\|
|00002100| 69 6e 64 65 78 7b 56 61 | 72 69 61 62 6c 65 20 56 |index{Va|riable V|
|00002110| 41 52 7d 20 68 6f 6c 64 | 73 20 74 68 65 20 61 64 |AR} hold|s the ad|
|00002120| 64 72 65 73 73 20 6f 66 | 20 0d 0a 20 20 20 20 20 |dress of| .. |
|00002130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002140| 20 20 20 20 20 20 20 20 | 5c 55 6e 69 54 65 72 6d | |\UniTerm|
|00002150| 27 73 20 70 61 72 61 6d | 65 74 65 72 20 62 6c 6f |'s param|eter blo|
|00002160| 63 6b 5c 66 6f 6f 74 6e | 6f 74 65 6d 61 72 6b 5c |ck\footn|otemark\|
|00002170| 20 66 6f 72 20 70 61 73 | 73 69 6e 67 20 74 6f 20 | for pas|sing to |
|00002180| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6f | | o|
|000021a0| 74 68 65 72 20 70 72 6f | 67 72 61 6d 73 2e 7d 20 |ther pro|grams.} |
|000021b0| 0d 0a 5c 65 6e 64 7b 64 | 65 73 63 72 69 70 74 69 |..\end{d|escripti|
|000021c0| 6f 6e 7d 0d 0a 5c 66 6f | 6f 74 6e 6f 74 65 74 65 |on}..\fo|otnotete|
|000021d0| 78 74 7b 50 6c 65 61 73 | 65 20 63 6f 6e 73 75 6c |xt{Pleas|e consul|
|000021e0| 74 20 74 68 65 20 73 65 | 70 61 72 61 74 65 20 64 |t the se|parate d|
|000021f0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 6e 20 |ocumenta|tion on |
|00002200| 74 68 69 73 20 73 75 62 | 6a 65 63 74 2e 7d 0d 0a |this sub|ject.}..|
|00002210| 0d 0a 5c 73 65 63 74 69 | 6f 6e 7b 41 64 64 69 74 |..\secti|on{Addit|
|00002220| 69 6f 6e 61 6c 20 46 65 | 61 74 75 72 65 73 20 69 |ional Fe|atures i|
|00002230| 6e 20 4d 61 63 72 6f 20 | 46 69 6c 65 20 4d 6f 64 |n Macro |File Mod|
|00002240| 65 7d 0d 0a 0d 0a 5c 73 | 75 62 73 65 63 74 69 6f |e}....\s|ubsectio|
|00002250| 6e 7b 4c 61 62 65 6c 73 | 7d 0d 0a 0d 0a 54 77 65 |n{Labels|}....Twe|
|00002260| 6e 74 79 20 6c 6f 63 61 | 6c 20 6c 61 62 65 6c 73 |nty loca|l labels|
|00002270| 20 28 70 65 72 20 6d 61 | 63 72 6f 20 66 69 6c 65 | (per ma|cro file|
|00002280| 29 20 63 61 6e 20 62 65 | 20 75 73 65 64 3a 20 20 |) can be| used: |
|00002290| 20 7b 5c 74 74 20 3a 31 | 7d 20 74 6f 20 7b 5c 74 | {\tt :1|} to {\t|
|000022a0| 74 20 3a 32 30 7d 2e 20 | 0d 0a 41 20 6c 61 62 65 |t :20}. |..A labe|
|000022b0| 6c 20 6d 75 73 74 20 62 | 65 20 74 68 65 20 66 69 |l must b|e the fi|
|000022c0| 72 73 74 20 61 6e 64 20 | 6f 6e 6c 79 20 77 6f 72 |rst and |only wor|
|000022d0| 64 20 6f 6e 20 61 20 6c | 69 6e 65 21 0d 0a 0d 0a |d on a l|ine!....|
|000022e0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 43 6f 6d 6d |\subsect|ion{Comm|
|000022f0| 65 6e 74 73 7d 0d 0a 0d | 0a 41 20 6c 69 6e 65 20 |ents}...|.A line |
|00002300| 73 74 61 72 74 69 6e 67 | 20 77 69 74 68 20 5c 23 |starting| with \#|
|00002310| 5c 20 69 73 20 69 67 6e | 6f 72 65 64 20 6f 6e 20 |\ is ign|ored on |
|00002320| 69 6e 70 75 74 2e 0d 0a | 0d 0a 5c 73 75 62 73 65 |input...|..\subse|
|00002330| 63 74 69 6f 6e 7b 41 64 | 64 69 74 69 6f 6e 61 6c |ction{Ad|ditional|
|00002340| 20 53 74 61 74 65 6d 65 | 6e 74 73 7d 0d 0a 0d 0a | Stateme|nts}....|
|00002350| 54 68 65 73 65 20 73 74 | 61 74 65 6d 65 6e 74 73 |These st|atements|
|00002360| 20 63 61 6e 20 6f 6e 6c | 79 20 62 65 20 75 73 65 | can onl|y be use|
|00002370| 64 20 69 6e 20 6d 61 63 | 72 6f 20 66 69 6c 65 20 |d in mac|ro file |
|00002380| 6d 6f 64 65 2c 20 61 6e | 64 20 77 69 6c 6c 20 63 |mode, an|d will c|
|00002390| 61 75 73 65 0d 0a 61 6e | 20 65 72 72 6f 72 20 69 |ause..an| error i|
|000023a0| 66 20 75 73 65 64 20 66 | 72 6f 6d 20 61 20 66 75 |f used f|rom a fu|
|000023b0| 6e 63 74 69 6f 6e 20 6b | 65 79 2e 0d 0a 0d 0a 5c |nction k|ey.....\|
|000023c0| 73 74 61 74 65 6d 65 6e | 74 7b 69 66 7d 7b 69 6e |statemen|t{if}{in|
|000023d0| 74 7d 7b 65 78 65 63 75 | 74 65 20 74 68 65 20 72 |t}{execu|te the r|
|000023e0| 65 73 74 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 20 |est of t|he line |
|000023f0| 69 66 20 7b 5c 65 6d 20 | 69 6e 74 7d 20 69 73 20 |if {\em |int} is |
|00002400| 6e 6f 74 20 65 71 75 61 | 6c 20 30 7d 0d 0a 0d 0a |not equa|l 0}....|
|00002410| 5c 73 74 61 74 65 6d 65 | 6e 74 7b 6a 75 6d 70 7d |\stateme|nt{jump}|
|00002420| 7b 6e 72 7d 7b 67 6f 74 | 6f 20 6c 61 62 65 6c 20 |{nr}{got|o label |
|00002430| 6e 75 6d 62 65 72 20 7b | 5c 65 6d 20 6e 72 7d 7d |number {|\em nr}}|
|00002440| 0d 0a 0d 0a 5c 73 74 61 | 74 65 6d 65 6e 74 7b 65 |....\sta|tement{e|
|00002450| 78 69 74 7d 7b 69 6e 74 | 7d 7b 73 74 6f 70 20 70 |xit}{int|}{stop p|
|00002460| 72 6f 63 65 73 73 69 6e | 67 20 61 6e 64 20 72 65 |rocessin|g and re|
|00002470| 74 75 72 6e 20 77 69 74 | 68 20 76 61 6c 75 65 20 |turn wit|h value |
|00002480| 7b 5c 65 6d 20 69 6e 74 | 7d 7d 0d 0a 0d 0a 5c 73 |{\em int|}}....\s|
|00002490| 74 61 74 65 6d 65 6e 74 | 7b 63 61 6c 6c 7d 7b 6e |tatement|{call}{n|
|000024a0| 72 7d 7b 65 78 65 63 75 | 74 65 20 73 75 62 72 6f |r}{execu|te subro|
|000024b0| 75 74 69 6e 65 20 61 74 | 20 6c 61 62 65 6c 20 7b |utine at| label {|
|000024c0| 5c 65 6d 20 6e 72 7d 20 | 28 73 75 62 72 6f 75 74 |\em nr} |(subrout|
|000024d0| 69 6e 65 73 20 63 61 6e | 27 74 20 62 65 20 0d 0a |ines can|'t be ..|
|000024e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024f0| 20 20 6e 65 73 74 65 64 | 21 29 7d 0d 0a 0d 0a 5c | nested|!)}....\|
|00002500| 73 74 61 74 65 6d 65 6e | 74 7b 72 65 74 75 72 6e |statemen|t{return|
|00002510| 7d 7b 7d 7b 72 65 74 75 | 72 6e 20 66 72 6f 6d 20 |}{}{retu|rn from |
|00002520| 73 75 62 72 6f 75 74 69 | 6e 65 7d 0d 0a 0d 0a 0d |subrouti|ne}.....|
|00002530| 0a 5c 73 65 63 74 69 6f | 6e 7b 45 78 61 6d 70 6c |.\sectio|n{Exampl|
|00002540| 65 7d 0d 0a 0d 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |e}....\b|egin{ver|
|00002550| 62 61 74 69 6d 7d 0d 0a | 23 23 23 23 23 23 23 23 |batim}..|########|
|00002560| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002570| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0d 0a 23 |########|#####..#|
|00002580| 20 54 65 73 74 20 4d 61 | 63 72 6f 20 66 6f 72 20 | Test Ma|cro for |
|00002590| 55 6e 69 54 65 72 6d 20 | 56 32 2e 30 63 20 30 30 |UniTerm |V2.0c 00|
|000025a0| 32 20 20 23 0d 0a 23 20 | 43 6f 70 79 72 69 67 68 |2 #..# |Copyrigh|
|000025b0| 74 20 31 39 38 38 20 53 | 69 6d 6f 6e 20 50 6f 6f |t 1988 S|imon Poo|
|000025c0| 6c 65 20 20 20 20 20 20 | 20 20 23 0d 0a 23 20 20 |le | #..# |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025f0| 20 23 0d 0a 23 23 23 23 | 23 23 23 23 23 23 23 23 | #..####|########|
|00002600| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002610| 23 23 23 23 23 23 23 23 | 23 0d 0a 23 20 74 75 72 |########|#..# tur|
|00002620| 6e 20 68 69 73 74 6f 72 | 79 20 72 65 63 6f 72 64 |n histor|y record|
|00002630| 69 6e 67 20 6f 6e 0d 0a | 68 69 73 74 6f 72 79 28 |ing on..|history(|
|00002640| 31 29 0d 0a 63 61 6c 6c | 28 32 30 29 0d 0a 65 63 |1)..call|(20)..ec|
|00002650| 68 6f 28 27 5c 30 30 37 | 5c 72 5c 6e 53 61 6d 70 |ho('\007|\r\nSamp|
|00002660| 6c 65 20 55 6e 69 54 65 | 72 6d 20 6d 61 63 72 6f |le UniTe|rm macro|
|00002670| 20 66 69 6c 65 27 29 0d | 0a 65 63 68 6f 28 27 5c | file').|.echo('\|
|00002680| 72 5c 6e 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |r\n-----|--------|
|00002690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 5c 30 30 37 |--------|----\007|
|000026a0| 27 29 20 0d 0a 23 0d 0a | 23 20 52 65 73 65 74 20 |') ..#..|# Reset |
|000026b0| 74 68 65 20 6d 6f 64 65 | 6d 0d 0a 23 0d 0a 63 6f |the mode|m..#..co|
|000026c0| 70 79 28 31 2c 27 41 54 | 5a 27 29 0d 0a 63 6f 70 |py(1,'AT|Z')..cop|
|000026d0| 79 28 32 2c 27 4f 4b 27 | 29 0d 0a 73 65 74 28 32 |y(2,'OK'|)..set(2|
|000026e0| 2c 35 29 0d 0a 63 61 6c | 6c 28 34 29 0d 0a 23 0d |,5)..cal|l(4)..#.|
|000026f0| 0a 69 66 28 40 31 29 20 | 65 63 68 6f 28 27 5c 72 |.if(@1) |echo('\r|
|00002700| 5c 6e 52 65 73 65 74 5c | 72 5c 6e 27 29 20 6a 75 |\nReset\|r\n') ju|
|00002710| 6d 70 28 32 29 0d 0a 23 | 0d 0a 65 63 68 6f 28 27 |mp(2)..#|..echo('|
|00002720| 5c 72 5c 6e 54 6f 6f 20 | 6d 61 6e 79 20 72 65 74 |\r\nToo |many ret|
|00002730| 72 69 65 73 5c 72 5c 6e | 27 29 20 65 78 69 74 28 |ries\r\n|') exit(|
|00002740| 2d 31 29 0d 0a 23 0d 0a | 23 20 44 69 61 6c 20 74 |-1)..#..|# Dial t|
|00002750| 68 65 20 6e 75 6d 62 65 | 72 20 61 6e 64 20 77 61 |he numbe|r and wa|
|00002760| 69 74 20 66 6f 72 20 43 | 4f 4e 4e 45 43 54 0d 0a |it for C|ONNECT..|
|00002770| 23 20 28 69 6e 20 72 65 | 61 6c 20 6c 69 66 65 20 |# (in re|al life |
|00002780| 79 6f 75 20 77 6f 75 6c | 64 20 75 73 65 20 74 68 |you woul|d use th|
|00002790| 65 20 64 69 61 6c 28 29 | 20 66 75 6e 63 74 69 6f |e dial()| functio|
|000027a0| 6e 29 0d 0a 23 0d 0a 3a | 32 0d 0a 23 20 47 65 74 |n)..#..:|2..# Get|
|000027b0| 20 6e 75 6d 62 65 72 20 | 66 72 6f 6d 20 75 73 65 | number |from use|
|000027c0| 72 0d 0a 69 66 28 21 69 | 6e 70 75 74 28 27 45 6e |r..if(!i|nput('En|
|000027d0| 74 65 72 20 6e 75 6d 62 | 65 72 20 28 32 35 31 32 |ter numb|er (2512|
|000027e0| 30 30 32 29 27 29 29 20 | 65 78 69 74 28 30 29 0d |002)')) |exit(0).|
|000027f0| 0a 23 20 69 66 20 74 68 | 65 20 73 74 72 69 6e 67 |.# if th|e string|
|00002800| 20 69 73 20 65 6d 70 74 | 79 20 75 73 65 20 74 68 | is empt|y use th|
|00002810| 65 20 64 65 66 61 75 6c | 74 0d 0a 69 66 28 63 6f |e defaul|t..if(co|
|00002820| 6d 70 61 72 65 28 24 54 | 2c 27 27 29 29 20 63 6f |mpare($T|,'')) co|
|00002830| 6e 63 61 74 28 27 32 35 | 31 32 30 30 32 27 2c 27 |ncat('25|12002','|
|00002840| 27 29 0d 0a 23 20 48 61 | 79 65 73 20 77 61 6e 74 |')..# Ha|yes want|
|00002850| 20 61 20 41 54 44 20 0d | 0a 63 6f 6e 63 61 74 28 | a ATD .|.concat(|
|00002860| 27 41 54 44 27 2c 24 54 | 29 0d 0a 23 20 64 69 61 |'ATD',$T|)..# dia|
|00002870| 6c 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 0d 0a 63 |l.......|.......c|
|00002880| 6f 70 79 28 31 2c 24 54 | 29 0d 0a 63 6f 70 79 28 |opy(1,$T|)..copy(|
|00002890| 32 2c 27 43 4f 4e 4e 45 | 43 54 27 29 0d 0a 73 65 |2,'CONNE|CT')..se|
|000028a0| 74 28 32 2c 33 30 29 0d | 0a 63 61 6c 6c 28 34 29 |t(2,30).|.call(4)|
|000028b0| 0d 0a 69 66 28 21 40 31 | 29 20 65 63 68 6f 28 27 |..if(!@1|) echo('|
|000028c0| 5c 72 5c 6e 46 61 69 6c | 65 64 5c 72 5c 6e 27 29 |\r\nFail|ed\r\n')|
|000028d0| 65 78 69 74 28 31 29 0d | 0a 23 0d 0a 23 20 4c 6f |exit(1).|.#..# Lo|
|000028e0| 67 69 6e 0d 0a 23 0d 0a | 23 20 74 68 69 73 20 69 |gin..#..|# this i|
|000028f0| 73 20 66 6f 72 20 6f 75 | 72 20 4c 6f 63 61 6c 4e |s for ou|r LocalN|
|00002900| 65 74 20 32 30 20 73 79 | 73 74 65 6d 0d 0a 3a 36 |et 20 sy|stem..:6|
|00002910| 0d 0a 73 65 6e 64 28 27 | 5c 72 27 29 0d 0a 69 66 |..send('|\r')..if|
|00002920| 28 21 67 65 74 28 27 23 | 27 2c 32 29 29 20 62 72 |(!get('#|',2)) br|
|00002930| 65 61 6b 28 31 30 30 2c | 46 41 4c 53 45 29 20 69 |eak(100,|FALSE) i|
|00002940| 66 28 21 67 65 74 28 27 | 23 27 2c 32 29 29 20 73 |f(!get('|#',2)) s|
|00002950| 65 6e 64 28 27 5c 30 30 | 31 5c 30 30 31 27 29 0d |end('\00|1\001').|
|00002960| 0a 73 65 6e 64 28 27 65 | 63 68 6f 20 6f 66 66 5c |.send('e|cho off\|
|00002970| 72 27 29 0d 0a 69 66 28 | 21 67 65 74 28 27 23 27 |r')..if(|!get('#'|
|00002980| 2c 32 29 29 20 65 63 68 | 6f 28 27 5c 72 5c 6e 53 |,2)) ech|o('\r\nS|
|00002990| 6f 6d 65 74 68 69 6e 67 | 20 69 73 20 77 72 6f 6e |omething| is wron|
|000029a0| 67 21 27 29 20 68 61 6e | 67 75 70 28 29 20 65 78 |g!') han|gup() ex|
|000029b0| 69 74 28 2d 31 29 0d 0a | 23 20 63 61 6c 6c 20 74 |it(-1)..|# call t|
|000029c0| 68 65 20 73 79 73 74 65 | 6d 0d 0a 73 65 6e 64 28 |he syste|m..send(|
|000029d0| 27 63 61 6c 6c 20 65 37 | 38 30 5c 72 27 29 0d 0a |'call e7|80\r')..|
|000029e0| 23 20 73 68 6f 75 6c 64 | 20 68 61 76 65 20 61 20 |# should| have a |
|000029f0| 63 6f 75 6e 74 65 72 20 | 68 65 72 65 2c 20 62 75 |counter |here, bu|
|00002a00| 74 20 79 6f 75 20 63 61 | 6e 20 61 6c 77 61 79 73 |t you ca|n always|
|00002a10| 20 73 74 6f 70 20 77 69 | 74 68 20 5e 43 0d 0a 69 | stop wi|th ^C..i|
|00002a20| 66 28 21 67 65 74 28 27 | 43 4f 4d 50 4c 45 54 45 |f(!get('|COMPLETE|
|00002a30| 44 27 2c 33 29 29 20 73 | 65 6e 64 28 27 64 6f 6e |D',3)) s|end('don|
|00002a40| 65 5c 72 27 29 20 6a 75 | 6d 70 28 36 29 0d 0a 69 |e\r') ju|mp(6)..i|
|00002a50| 66 28 21 67 65 74 28 27 | 6f 67 69 6e 27 2c 33 29 |f(!get('|ogin',3)|
|00002a60| 29 20 73 65 6e 64 28 27 | 64 6f 6e 65 5c 72 27 29 |) send('|done\r')|
|00002a70| 20 6a 75 6d 70 28 36 29 | 0d 0a 73 65 6e 64 28 27 | jump(6)|..send('|
|00002a80| 70 6f 6f 6c 65 5c 72 27 | 29 0d 0a 23 0d 0a 23 20 |poole\r'|)..#..# |
|00002a90| 73 68 6f 75 6c 64 20 73 | 65 6e 64 20 6d 79 20 70 |should s|end my p|
|00002aa0| 61 73 73 77 6f 72 64 20 | 68 65 72 65 0d 0a 23 0d |assword |here..#.|
|00002ab0| 0a 23 20 46 69 6e 69 73 | 68 65 64 21 0d 0a 65 78 |.# Finis|hed!..ex|
|00002ac0| 69 74 28 30 29 0d 0a 23 | 23 23 23 23 23 23 23 23 |it(0)..#|########|
|00002ad0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002ae0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002af0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002b00| 0d 0a 23 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..# | |
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b30| 20 20 20 20 20 20 20 20 | 20 20 23 0d 0a 23 20 20 | | #..# |
|00002b40| 53 65 6e 64 20 61 20 73 | 74 72 69 6e 67 20 74 6f |Send a s|tring to|
|00002b50| 20 61 20 48 61 79 65 73 | 20 63 6f 6d 70 61 74 69 | a Hayes| compati|
|00002b60| 62 6c 65 20 6d 6f 64 65 | 6d 20 20 20 20 20 20 20 |ble mode|m |
|00002b70| 20 20 20 20 20 23 0d 0a | 23 20 20 20 20 20 20 20 | #..|# |
|00002b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002bb0| 23 0d 0a 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |#..#####|########|
|00002bc0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002bd0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002be0| 23 23 23 23 23 23 23 23 | 23 23 23 23 0d 0a 23 0d |########|####..#.|
|00002bf0| 0a 23 20 40 31 20 6e 75 | 6d 62 65 72 20 6f 66 20 |.# @1 nu|mber of |
|00002c00| 72 65 74 72 69 65 73 0d | 0a 23 20 40 32 20 74 69 |retries.|.# @2 ti|
|00002c10| 6d 65 6f 75 74 0d 0a 23 | 20 24 31 20 73 74 72 69 |meout..#| $1 stri|
|00002c20| 6e 67 20 74 6f 20 73 65 | 6e 64 20 28 74 65 6c 65 |ng to se|nd (tele|
|00002c30| 70 68 6f 6e 65 20 6e 75 | 6d 62 65 72 2e 2e 2e 29 |phone nu|mber...)|
|00002c40| 0d 0a 23 20 24 32 20 73 | 74 72 69 6e 67 20 74 6f |..# $2 s|tring to|
|00002c50| 20 77 61 69 74 20 66 6f | 72 20 28 43 4f 4e 4e 45 | wait fo|r (CONNE|
|00002c60| 43 54 29 0d 0a 23 0d 0a | 3a 34 0d 0a 73 65 74 28 |CT)..#..|:4..set(|
|00002c70| 31 2c 33 29 0d 0a 3a 35 | 0d 0a 20 20 20 65 63 68 |1,3)..:5|.. ech|
|00002c80| 6f 28 27 5c 72 5c 6e 54 | 72 79 3a 20 27 29 0d 0a |o('\r\nT|ry: ')..|
|00002c90| 20 20 20 65 63 68 6f 28 | 22 61 64 64 28 34 2c 2d | echo(|"add(4,-|
|00002ca0| 40 31 29 29 0d 0a 20 20 | 20 73 65 74 28 31 2c 61 |@1)).. | set(1,a|
|00002cb0| 64 64 28 40 31 2c 2d 31 | 29 29 0d 0a 20 20 20 77 |dd(@1,-1|)).. w|
|00002cc0| 61 69 74 28 31 30 29 0d | 0a 23 20 73 65 6e 64 20 |ait(10).|.# send |
|00002cd0| 61 74 74 6e 20 73 74 72 | 69 6e 67 0d 0a 20 20 20 |attn str|ing.. |
|00002ce0| 65 63 68 6f 28 27 5c 72 | 5c 6e 53 65 6e 64 69 6e |echo('\r|\nSendin|
|00002cf0| 67 20 2b 2b 2b 27 29 0d | 0a 20 20 20 73 65 6e 64 |g +++').|. send|
|00002d00| 28 27 2b 2b 2b 27 29 0d | 0a 23 20 77 65 20 6d 69 |('+++').|.# we mi|
|00002d10| 67 68 74 20 67 65 74 20 | 61 20 4f 4b 20 68 65 72 |ght get |a OK her|
|00002d20| 65 2e 2e 2e 0d 0a 20 20 | 20 67 65 74 28 27 4f 4b |e..... | get('OK|
|00002d30| 27 2c 32 29 0d 0a 20 20 | 20 65 63 68 6f 28 27 5c |',2).. | echo('\|
|00002d40| 72 5c 6e 53 65 6e 64 69 | 6e 67 20 27 29 0d 0a 20 |r\nSendi|ng ').. |
|00002d50| 20 20 65 63 68 6f 28 24 | 31 29 20 0d 0a 20 20 20 | echo($|1) .. |
|00002d60| 73 65 6e 64 28 24 31 29 | 0d 0a 20 20 20 73 65 6e |send($1)|.. sen|
|00002d70| 64 28 27 5c 72 27 29 0d | 0a 69 66 28 61 6e 64 28 |d('\r').|.if(and(|
|00002d80| 21 67 65 74 28 24 32 2c | 40 32 29 2c 40 31 29 29 |!get($2,|@2),@1))|
|00002d90| 20 6a 75 6d 70 28 35 29 | 0d 0a 72 65 74 75 72 6e | jump(5)|..return|
|00002da0| 28 29 0d 0a 23 23 23 23 | 23 23 23 23 23 23 23 23 |()..####|########|
|00002db0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002dc0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002dd0| 23 23 23 23 23 23 23 23 | 23 23 23 23 0d 0a 23 20 |########|####..# |
|00002de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e10| 20 20 20 20 20 23 0d 0a | 23 20 48 6f 6d 65 20 63 | #..|# Home c|
|00002e20| 75 72 73 6f 72 20 61 6e | 64 20 63 6c 65 61 72 20 |ursor an|d clear |
|00002e30| 73 63 72 65 65 6e 20 20 | 20 20 20 20 20 20 20 20 |screen | |
|00002e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 23 | | #|
|00002e50| 0d 0a 23 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..# | |
|00002e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e80| 20 20 20 20 20 20 20 20 | 20 23 0d 0a 23 23 23 23 | | #..####|
|00002e90| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002ea0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002eb0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002ec0| 23 23 23 23 0d 0a 3a 32 | 30 0d 0a 65 63 68 6f 28 |####..:2|0..echo(|
|00002ed0| 27 5c 30 33 33 5b 66 5c | 30 33 33 5b 32 4a 27 29 |'\033[f\|033[2J')|
|00002ee0| 0d 0a 72 65 74 75 72 6e | 28 29 0d 0a 23 23 23 23 |..return|()..####|
|00002ef0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002f00| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002f10| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002f20| 23 23 23 23 0d 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |####..\e|nd{verba|
|00002f30| 74 69 6d 7d 0d 0a 0d 0a | 0d 0a 0d 0a 41 20 20 76 |tim}....|....A v|
|00002f40| 65 72 79 20 20 75 73 65 | 66 75 6c 20 20 61 73 70 |ery use|ful asp|
|00002f50| 65 63 74 20 20 6f 66 20 | 20 74 68 65 20 6d 61 63 |ect of | the mac|
|00002f60| 72 6f 20 70 72 6f 63 65 | 73 73 6f 72 2c 20 69 73 |ro proce|ssor, is|
|00002f70| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 20 0d 0a | that yo|u can ..|
|00002f80| 61 73 73 69 67 6e 20 61 | 20 73 74 72 69 6e 67 20 |assign a| string |
|00002f90| 6c 69 6b 65 20 7b 5c 74 | 74 20 7b 5c 25 7d 52 28 |like {\t|t {\%}R(|
|00002fa0| 27 54 45 4d 50 55 53 2e | 50 52 47 27 2c 27 5c 2c |'TEMPUS.|PRG','\,|
|00002fb0| 27 29 7d 5c 20 74 6f 20 | 61 20 66 75 6e 63 74 69 |')}\ to |a functi|
|00002fc0| 6f 6e 20 6b 65 79 20 61 | 6e 64 20 72 75 6e 20 0d |on key a|nd run .|
|00002fd0| 0a 79 6f 75 72 20 66 61 | 76 6f 75 72 69 74 65 20 |.your fa|vourite |
|00002fe0| 65 64 69 74 6f 72 20 6a | 75 73 74 20 62 79 20 70 |editor j|ust by p|
|00002ff0| 72 65 73 73 69 6e 67 20 | 6f 6e 65 20 6b 65 79 5c |ressing |one key\|
|00003000| 66 6f 6f 74 6e 6f 74 65 | 7b 52 65 6d 65 6d 62 65 |footnote|{Remembe|
|00003010| 72 20 74 68 61 74 20 0d | 0a 65 6e 6f 75 67 68 20 |r that .|.enough |
|00003020| 73 79 73 74 65 6d 20 6d | 65 6d 6f 72 79 20 68 61 |system m|emory ha|
|00003030| 73 20 74 6f 20 62 65 20 | 72 65 73 65 72 76 65 64 |s to be |reserved|
|00003040| 20 66 6f 72 20 70 72 6f | 67 72 61 6d 73 20 74 6f | for pro|grams to|
|00003050| 20 72 75 6e 20 69 6e 2e | 7d 2e 0d 0a 0d 0a 0d 0a | run in.|}.......|
|00003060| 5c 73 65 63 74 69 6f 6e | 7b 5c 55 6e 69 54 65 72 |\section|{\UniTer|
|00003070| 6d 5c 20 49 6e 74 65 72 | 6e 61 6c 20 46 75 6e 63 |m\ Inter|nal Func|
|00003080| 74 69 6f 6e 20 4e 75 6d | 62 65 72 73 7d 0d 0a 0d |tion Num|bers}...|
|00003090| 0a 5c 62 65 67 69 6e 7b | 74 61 62 62 69 6e 67 7d |.\begin{|tabbing}|
|000030a0| 0d 0a 31 32 33 34 31 5c | 3d 32 33 34 35 36 37 38 |..12341\|=2345678|
|000030b0| 39 30 31 31 31 31 31 31 | 31 31 31 31 31 20 5c 3d |90111111|11111 \=|
|000030c0| 20 5c 6b 69 6c 6c 0d 0a | 5c 3e 20 20 52 65 73 65 | \kill..|\> Rese|
|000030d0| 74 54 65 6b 20 3d 20 5c | 3e 31 20 5c 5c 0d 0a 5c |tTek = \|>1 \\..\|
|000030e0| 3e 20 20 56 44 49 4f 75 | 74 70 75 74 20 3d 20 5c |> VDIOu|tput = \|
|000030f0| 3e 32 20 5c 5c 0d 0a 5c | 3e 20 20 50 72 69 6e 74 |>2 \\..\|> Print|
|00003100| 54 65 78 74 53 63 72 65 | 65 6e 20 3d 20 5c 3e 33 |TextScre|en = \>3|
|00003110| 20 5c 5c 0d 0a 5c 3e 20 | 20 54 65 6b 4d 6f 64 65 | \\..\> | TekMode|
|00003120| 20 3d 20 5c 3e 34 20 5c | 5c 0d 0a 5c 3e 20 20 54 | = \>4 \|\..\> T|
|00003130| 65 78 74 4d 6f 64 65 20 | 3d 20 5c 3e 35 20 5c 5c |extMode |= \>5 \\|
|00003140| 0d 0a 5c 3e 20 20 52 65 | 73 65 74 20 3d 20 5c 3e |..\> Re|set = \>|
|00003150| 36 20 5c 5c 0d 0a 5c 3e | 20 20 41 75 74 6f 50 72 |6 \\..\>| AutoPr|
|00003160| 69 6e 74 20 3d 20 5c 3e | 37 20 5c 5c 0d 0a 5c 3e |int = \>|7 \\..\>|
|00003170| 20 20 5a 6f 6f 6d 20 3d | 20 5c 3e 38 20 5c 5c 0d | Zoom =| \>8 \\.|
|00003180| 0a 5c 3e 20 20 31 33 32 | 43 6f 6c 75 6d 6e 54 6f |.\> 132|ColumnTo|
|00003190| 67 67 6c 65 20 3d 20 5c | 3e 39 20 5c 5c 0d 0a 5c |ggle = \|>9 \\..\|
|000031a0| 3e 20 20 53 63 72 6f 6c | 6c 4c 6f 63 6b 20 3d 20 |> Scrol|lLock = |
|000031b0| 5c 3e 31 30 20 5c 5c 0d | 0a 5c 3e 20 20 34 39 4c |\>10 \\.|.\> 49L|
|000031c0| 69 6e 65 54 6f 67 67 6c | 65 20 3d 20 5c 3e 31 31 |ineToggl|e = \>11|
|000031d0| 20 5c 5c 0d 0a 5c 3e 20 | 20 53 65 6e 64 41 6e 73 | \\..\> | SendAns|
|000031e0| 77 65 72 42 61 63 6b 20 | 3d 20 5c 3e 31 32 20 5c |werBack |= \>12 \|
|000031f0| 5c 0d 0a 5c 3e 20 20 53 | 68 6f 72 74 42 72 65 61 |\..\> S|hortBrea|
|00003200| 6b 20 3d 20 5c 3e 31 33 | 20 5c 5c 0d 0a 5c 3e 20 |k = \>13| \\..\> |
|00003210| 20 44 72 6f 70 44 54 52 | 20 3d 20 5c 3e 31 34 20 | DropDTR| = \>14 |
|00003220| 5c 5c 0d 0a 5c 3e 20 20 | 4c 6f 6e 67 42 72 65 61 |\\..\> |LongBrea|
|00003230| 6b 20 3d 20 5c 3e 31 35 | 20 5c 5c 0d 0a 5c 3e 20 |k = \>15| \\..\> |
|00003240| 20 53 61 76 65 48 69 73 | 74 6f 72 79 20 3d 20 5c | SaveHis|tory = \|
|00003250| 3e 31 36 20 5c 5c 0d 0a | 5c 3e 20 20 43 6f 6e 74 |>16 \\..|\> Cont|
|00003260| 72 6f 6c 48 69 73 74 6f | 72 79 20 3d 20 5c 3e 31 |rolHisto|ry = \>1|
|00003270| 37 20 5c 5c 0d 0a 5c 3e | 20 20 53 77 69 74 63 68 |7 \\..\>| Switch|
|00003280| 20 3d 20 5c 3e 31 38 20 | 5c 5c 0d 0a 5c 3e 20 20 | = \>18 |\\..\> |
|00003290| 43 6f 6e 74 72 6f 6c 43 | 61 70 74 75 72 65 20 3d |ControlC|apture =|
|000032a0| 20 5c 3e 31 39 20 5c 5c | 0d 0a 5c 3e 20 20 50 6c | \>19 \\|..\> Pl|
|000032b0| 61 79 42 61 63 6b 20 3d | 20 5c 3e 32 30 20 5c 5c |ayBack =| \>20 \\|
|000032c0| 0d 0a 5c 3e 20 20 53 65 | 6e 64 46 69 6c 65 20 3d |..\> Se|ndFile =|
|000032d0| 20 5c 3e 32 31 20 5c 5c | 0d 0a 5c 3e 20 20 44 65 | \>21 \\|..\> De|
|000032e0| 67 61 73 53 61 76 65 20 | 3d 20 5c 3e 32 32 20 5c |gasSave |= \>22 \|
|000032f0| 5c 0d 0a 5c 3e 20 20 56 | 69 65 77 48 69 73 74 6f |\..\> V|iewHisto|
|00003300| 72 79 20 3d 20 5c 3e 32 | 33 20 5c 5c 0d 0a 5c 3e |ry = \>2|3 \\..\>|
|00003310| 20 20 48 61 6e 67 75 70 | 20 3d 20 5c 3e 32 34 20 | Hangup| = \>24 |
|00003320| 5c 5c 0d 0a 5c 3e 20 20 | 44 69 61 6c 31 20 3d 20 |\\..\> |Dial1 = |
|00003330| 5c 3e 32 35 20 5c 5c 0d | 0a 5c 3e 20 20 44 69 61 |\>25 \\.|.\> Dia|
|00003340| 6c 32 20 3d 20 5c 3e 32 | 36 20 5c 5c 0d 0a 5c 3e |l2 = \>2|6 \\..\>|
|00003350| 20 20 44 69 61 6c 33 20 | 3d 20 5c 3e 32 37 20 5c | Dial3 |= \>27 \|
|00003360| 5c 0d 0a 5c 3e 20 20 44 | 69 61 6c 34 20 3d 20 5c |\..\> D|ial4 = \|
|00003370| 3e 32 38 20 5c 5c 0d 0a | 5c 3e 20 20 44 69 61 6c |>28 \\..|\> Dial|
|00003380| 35 20 3d 20 5c 3e 32 39 | 20 5c 5c 0d 0a 5c 3e 20 |5 = \>29| \\..\> |
|00003390| 20 44 69 61 6c 36 20 3d | 20 5c 3e 33 30 20 5c 5c | Dial6 =| \>30 \\|
|000033a0| 0d 0a 5c 3e 20 20 44 69 | 61 6c 37 20 3d 20 5c 3e |..\> Di|al7 = \>|
|000033b0| 33 31 20 5c 5c 0d 0a 5c | 3e 20 20 44 69 61 6c 38 |31 \\..\|> Dial8|
|000033c0| 20 3d 20 5c 3e 33 32 20 | 5c 5c 0d 0a 5c 3e 20 20 | = \>32 |\\..\> |
|000033d0| 44 69 61 6c 39 20 3d 20 | 5c 3e 33 33 20 5c 5c 0d |Dial9 = |\>33 \\.|
|000033e0| 0a 5c 3e 20 20 44 69 61 | 6c 31 30 20 3d 20 5c 3e |.\> Dia|l10 = \>|
|000033f0| 33 34 20 5c 5c 0d 0a 5c | 3e 20 20 53 65 74 50 61 |34 \\..\|> SetPa|
|00003400| 74 68 20 3d 20 5c 3e 33 | 35 20 5c 5c 0d 0a 5c 3e |th = \>3|5 \\..\>|
|00003410| 20 20 44 65 6c 46 69 6c | 65 20 3d 20 5c 3e 33 36 | DelFil|e = \>36|
|00003420| 20 5c 5c 0d 0a 5c 3e 20 | 20 44 69 73 6b 53 70 61 | \\..\> | DiskSpa|
|00003430| 63 65 20 3d 20 5c 3e 33 | 37 20 5c 5c 0d 0a 5c 3e |ce = \>3|7 \\..\>|
|00003440| 20 20 46 31 20 3d 20 5c | 3e 33 38 20 5c 5c 0d 0a | F1 = \|>38 \\..|
|00003450| 5c 3e 20 20 46 32 20 3d | 20 5c 3e 33 39 20 5c 5c |\> F2 =| \>39 \\|
|00003460| 0d 0a 5c 3e 20 20 46 33 | 20 3d 20 5c 3e 34 30 20 |..\> F3| = \>40 |
|00003470| 5c 5c 0d 0a 5c 3e 20 20 | 46 34 20 3d 20 5c 3e 34 |\\..\> |F4 = \>4|
|00003480| 31 20 5c 5c 0d 0a 5c 3e | 20 20 46 35 20 3d 20 5c |1 \\..\>| F5 = \|
|00003490| 3e 34 32 20 5c 5c 0d 0a | 5c 3e 20 20 46 36 20 3d |>42 \\..|\> F6 =|
|000034a0| 20 5c 3e 34 33 20 5c 5c | 0d 0a 5c 3e 20 20 46 37 | \>43 \\|..\> F7|
|000034b0| 20 3d 20 5c 3e 34 34 20 | 5c 5c 0d 0a 5c 3e 20 20 | = \>44 |\\..\> |
|000034c0| 46 38 20 3d 20 5c 3e 34 | 35 20 5c 5c 0d 0a 5c 3e |F8 = \>4|5 \\..\>|
|000034d0| 20 20 46 39 20 3d 20 5c | 3e 34 36 20 5c 5c 0d 0a | F9 = \|>46 \\..|
|000034e0| 5c 3e 20 20 46 31 30 20 | 3d 20 5c 3e 34 37 20 5c |\> F10 |= \>47 \|
|000034f0| 5c 0d 0a 5c 3e 20 20 53 | 46 31 20 3d 20 5c 3e 34 |\..\> S|F1 = \>4|
|00003500| 38 20 5c 5c 0d 0a 5c 3e | 20 20 53 46 32 20 3d 20 |8 \\..\>| SF2 = |
|00003510| 5c 3e 34 39 20 5c 5c 0d | 0a 5c 3e 20 20 53 46 33 |\>49 \\.|.\> SF3|
|00003520| 20 3d 20 5c 3e 35 30 20 | 5c 5c 0d 0a 5c 3e 20 20 | = \>50 |\\..\> |
|00003530| 53 46 34 20 3d 20 5c 3e | 35 31 20 5c 5c 0d 0a 5c |SF4 = \>|51 \\..\|
|00003540| 3e 20 20 53 46 35 20 3d | 20 5c 3e 35 32 20 5c 5c |> SF5 =| \>52 \\|
|00003550| 0d 0a 5c 3e 20 20 53 46 | 36 20 3d 20 5c 3e 35 33 |..\> SF|6 = \>53|
|00003560| 20 5c 5c 0d 0a 5c 3e 20 | 20 53 46 37 20 3d 20 5c | \\..\> | SF7 = \|
|00003570| 3e 35 34 20 5c 5c 0d 0a | 5c 3e 20 20 53 46 38 20 |>54 \\..|\> SF8 |
|00003580| 3d 20 5c 3e 35 35 20 5c | 5c 0d 0a 5c 3e 20 20 53 |= \>55 \|\..\> S|
|00003590| 46 39 20 3d 20 5c 3e 35 | 36 20 5c 5c 0d 0a 5c 3e |F9 = \>5|6 \\..\>|
|000035a0| 20 20 53 46 31 30 20 3d | 20 5c 3e 35 37 20 5c 5c | SF10 =| \>57 \\|
|000035b0| 0d 0a 5c 3e 20 20 55 74 | 69 6c 69 74 69 65 73 20 |..\> Ut|ilities |
|000035c0| 3d 20 5c 3e 35 38 20 5c | 5c 0d 0a 5c 3e 20 20 54 |= \>58 \|\..\> T|
|000035d0| 6f 67 67 6c 65 4d 65 74 | 61 20 3d 20 5c 3e 35 39 |oggleMet|a = \>59|
|000035e0| 20 5c 5c 0d 0a 5c 3e 20 | 20 48 65 6c 70 20 3d 20 | \\..\> | Help = |
|000035f0| 5c 3e 36 30 20 5c 5c 0d | 0a 5c 3e 20 20 49 6e 73 |\>60 \\.|.\> Ins|
|00003600| 65 72 74 43 6c 69 70 20 | 3d 20 5c 3e 36 31 20 5c |ertClip |= \>61 \|
|00003610| 5c 0d 0a 5c 3e 20 20 53 | 61 76 65 43 6c 69 70 20 |\..\> S|aveClip |
|00003620| 3d 20 5c 3e 36 32 20 5c | 5c 0d 0a 5c 3e 20 20 56 |= \>62 \|\..\> V|
|00003630| 69 65 77 48 69 73 74 45 | 4f 4c 20 3d 20 5c 3e 36 |iewHistE|OL = \>6|
|00003640| 33 20 5c 5c 0d 0a 5c 65 | 6e 64 7b 74 61 62 62 69 |3 \\..\e|nd{tabbi|
|00003650| 6e 67 7d 0d 0a 0d 0a 0d | 0a 0d 0a |ng}.....|... |
+--------+-------------------------+-------------------------+--------+--------+